You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
509 B
21 lines
509 B
using CoreLibrary.Core;
|
|
using CoreLibrary.Evenements;
|
|
using Xunit;
|
|
|
|
namespace UnitTesting
|
|
{
|
|
public class ConstruireJoueurEventArgsUT
|
|
{
|
|
[Fact]
|
|
public void TestConstructeurValide()
|
|
{
|
|
ConstruireJoueurEventArgs evenement = new ConstruireJoueurEventArgs("Bonjour");
|
|
ConstruireJoueurEventArgs evenement2 = new ConstruireJoueurEventArgs(null);
|
|
|
|
Assert.Equal("Bonjour", evenement.Nom);
|
|
Assert.Null(evenement2.Nom);
|
|
}
|
|
|
|
}
|
|
}
|