def test_with_characters(self): row = ["foo", "bar", "baz"] output = table.characters_left_in_row(row) self.assertTrue(output)
def test_with_blank_string(self): row = [""] output = table.characters_left_in_row(row) self.assertTrue(not output)
def test_with_no_characters(self): row = [] output = table.characters_left_in_row(row) self.assertTrue(not output)