public void SelectedNumberTest() { ChoiceGame game = new ChoiceGame(); Assert.IsTrue(game.selected <= 100); Assert.IsTrue(game.selected >= 0); }
public void IsSmallerTest() { ChoiceGame game = new ChoiceGame(); Assert.AreEqual(game.maxRange, 100); game.IsSmaller(); Assert.IsTrue(game.maxRange < 100); }
public void IsBiggerTest() { ChoiceGame game = new ChoiceGame(); Assert.AreEqual(game.minRange, 0); game.IsBigger(); Assert.IsTrue(game.minRange > 0); }