public void ShouldReturnFalseOnMismatch_HasWon(int x, int y, int z, int m) { var sut = new GuessModel(m); sut.GuessNumber(x); sut.GuessNumber(y); sut.GuessNumber(z); Assert.False(sut.HasWon()); }
public void ShouldReturnFalse_HasWon(int x, int y) { var sut = new GuessModel(y); sut.GuessNumber(x); Assert.False(sut.HasWon()); }
public void ShouldReturnTrueOnMatch_HasWon(int x, int y) { var sut = new GuessModel(y); sut.GuessNumber(x); Assert.True(sut.HasWon()); }
public void ShouldReturnRemaining_GetRemainingGuesses(int x, int m) { var sut = new GuessModel(m); sut.GuessNumber(x); var actual = sut.SetRemainingGuesses(); Assert.Equal(10, actual); }