def test_10(self): expected = [ '1', '11', '21', '1211', '111221', '312211', '13112221', '1113213211', '31131211131221', '13211311123113112211', ] self.assertEqual(look_and_say(10), expected)
def test_for_input_2(): fixture = look_and_say(2) assert fixture == '12'
def test_sample2(self): self.assertEqual("21", look_and_say("11"))
def test_for_input_1(): fixture = look_and_say(1) assert fixture == '11'
def test_sample5(self): self.assertEqual("312211", look_and_say("111221"))