Ejemplo n.º 1
0
        public void Second_line_of_first_non_generic_verse()
        {
            var expected =
                "Take one down and pass it around, 1 bottle of beer on the wall.";
            var sut = new VerseTextCreator();

            Assert.Equal(expected, sut.VerseSecondLine(2));
        }
Ejemplo n.º 2
0
        public void Second_line_of_last_generic_verse()
        {
            int index    = 3;
            var expected = $"Take one down and pass it around, {index - 1} bottles of beer on the wall.";
            var sut      = new VerseTextCreator();

            Assert.Equal(expected, sut.VerseSecondLine(index));
        }