예제 #1
0
 public void GivenIHaveNegativeNumbers_WhenIEnterThemNumbersIntoRaindropMethod_TheCorrectStringWillBeReturned(int number, string solution)
 {
     Assert.That(Raindrop.Raindrops(number), Is.EqualTo(solution));
 }
예제 #2
0
 public void GivenIHaveANumberThatIsntAFactorOfThreeFiveOrSeven_WhenIEnterThatNumberIntoRaindropMethod_TheNumberWillBeReturned(int number)
 {
     Assert.That(Raindrop.Raindrops(number), Is.EqualTo(number.ToString()));
 }
예제 #3
0
 public void GivenAFactorOfThreeFiveAndSeven_WhenIEnterThatNumberIntoRaindropMethod_PlingPlangPlongWillBeReturned(int number)
 {
     Assert.That(Raindrop.Raindrops(number), Is.EqualTo("PlingPlangPlong"));
 }