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.
20 lines
453 B
20 lines
453 B
using CoreLibrary.Core;
|
|
using CoreLibrary.Evenements;
|
|
using Xunit;
|
|
|
|
namespace UnitTesting
|
|
{
|
|
public class PlateauAjouterCodeEventArgsUT
|
|
{
|
|
[Fact]
|
|
public void TestConstructeurValide()
|
|
{
|
|
Plateau plateau = new Plateau(4,3);
|
|
|
|
PlateauAjouterCodeEventArgs evenement = new PlateauAjouterCodeEventArgs(plateau);
|
|
|
|
Assert.Equal(plateau, evenement.Plateau);
|
|
}
|
|
}
|
|
}
|