Пример #1
0
    public void Return_multiple_verses()
    {
        var expected = "On the first day of Christmas my true love gave to me, a Partridge in a Pear Tree.\n\n" +
                       "On the second day of Christmas my true love gave to me, two Turtle Doves, and a Partridge in a Pear Tree.\n\n" +
                       "On the third day of Christmas my true love gave to me, three French Hens, two Turtle Doves, and a Partridge in a Pear Tree.\n\n";

        Assert.That(twelveDaysSong.Verses(1, 3), Is.EqualTo(expected));
    }
Пример #2
0
 public void Return_entire_song()
 {
     Assert.Equal(TwelveDaysSong.Sing(), TwelveDaysSong.Verses(1, 12));
 }