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
420 B
21 lines
420 B
using CoreLibrary.Core;
|
|
using CoreLibrary.Events;
|
|
using Xunit;
|
|
|
|
namespace UnitTesting
|
|
{
|
|
public class AjouterJetonEventArgsUT
|
|
{
|
|
[Fact]
|
|
public void TestConstructeurValide()
|
|
{
|
|
Jeton monJeton = new Jeton(Couleur.JAUNE);
|
|
|
|
AjouterJetonEventArgs evenement = new AjouterJetonEventArgs(monJeton);
|
|
|
|
Assert.Equal(monJeton, evenement.Jeton);
|
|
}
|
|
|
|
}
|
|
}
|