def test_return_string_length(self): height = 10 line = randint(0, 10) self.assertEqual(len(mario_more.create_line(line, height)), height + line + 2)
def test_when_line_equals_height_return_full_line(self): self.assertEqual("###### ######", mario_more.create_line(6, 6))
def test_regular_input(self): self.assertEqual(" ## ##", mario_more.create_line(2, 6))
def test_return_string_length_height_plus_one(self): height = 10 line = randint(0, 10) self.assertEqual(len(mario_less.create_line(line, height)), height + 1)