|
|
|
@ -35,5 +35,17 @@ namespace Testeur
|
|
|
|
|
//Assert
|
|
|
|
|
Assert.NotEqual(n, m.GetDice().Count);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Fact]
|
|
|
|
|
public void TesterNullMethodeRandom()
|
|
|
|
|
{
|
|
|
|
|
//Arange
|
|
|
|
|
Manager m = new Manager(new Stub());
|
|
|
|
|
|
|
|
|
|
int n = m.GetDice().Count();
|
|
|
|
|
NumberDie nd = null;
|
|
|
|
|
Assert.False(m.AddDice(nd));
|
|
|
|
|
Assert.False(m.RemoveDice(nd));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|