public void Test_Verse_0() { var subject = new NinetyNineBottlesSinger(); var result = subject.Verse(0); var expected = "No more bottles of beer on the wall, no more bottles of beer.\n" + "Go to the store and buy some more, 99 bottles of beer on the wall."; Assert.That(result, Is.EqualTo(expected)); }
public void Test_The_First_Verse() { var subject = new NinetyNineBottlesSinger(); var result = subject.Verse(99); var expected = "99 bottles of beer on the wall, 99 bottles of beer.\n" + "Take one down and pass it around, 98 bottles of beer on the wall."; Assert.That(result, Is.EqualTo(expected)); }
public void Test_Verse_1() { var subject = new NinetyNineBottlesSinger(); var result = subject.Verse(1); var expected = "1 bottle of beer on the wall, 1 bottle of beer.\n" + "Take it down and pass it around, no more bottles of beer on the wall."; Assert.That(result, Is.EqualTo(expected)); }