[ { "sub" : "verse", "input" : 8, "name" : "test verse 8", "expected" : [ "8 bottles of beer on the wall, 8 bottles of beer.\n", "Take one down and pass it around, 7 bottles of beer on the wall.\n" ] }, { "sub" : "verse", "input" : 1, "name" : "test verse 1", "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.\n" ] }, { "sub" : "verse", "input" : 2, "name" : "test verse 2", "expected" : [ "2 bottles of beer on the wall, 2 bottles of beer.\n", "Take one down and pass it around, 1 bottle of beer on the wall.\n" ] }, { "sub" : "verse", "input" : 0, "name" : "test verse zero, no more bottles", "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.\n" ] }, { "sub" : "sing", "input" : [8, 6], "name" : "test sing from N bottle to N bottle", "expected" : [ "8 bottles of beer on the wall, 8 bottles of beer.\n", "Take one down and pass it around, 7 bottles of beer on the wall.\n", "\n", "7 bottles of beer on the wall, 7 bottles of beer.\n", "Take one down and pass it around, 6 bottles of beer on the wall.\n", "\n", "6 bottles of beer on the wall, 6 bottles of beer.\n", "Take one down and pass it around, 5 bottles of beer on the wall.\n", "\n" ] }, { "sub" : "sing", "input" : [3], "name" : "test sing from N bottles to no more", "expected" : [ "3 bottles of beer on the wall, 3 bottles of beer.\n", "Take one down and pass it around, 2 bottles of beer on the wall.\n", "\n", "2 bottles of beer on the wall, 2 bottles of beer.\n", "Take one down and pass it around, 1 bottle of beer on the wall.\n", "\n", "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.\n", "\n", "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.\n", "\n" ] } ]