def test_6_letter_word(self): word = "whales" out = icebox.plum(word) self.sanity_check(word, out)
def test_mixcapped_4_letter_word(self): word = "BooK" out = icebox.plum(word) self.sanity_check(word, out) self.assertEqual(out, "PluM")
def test_5_letter_word(self): word = "clock" out = icebox.plum(word) self.sanity_check(word, out)
def test_4_letter_word(self): word = "book" out = icebox.plum(word) self.sanity_check(word, out) self.assertEqual(out, "plum")
def test_upper_4_letter_word(self): word = "BOOK" out = icebox.plum(word) self.sanity_check(word, out) self.assertEqual(out, "PLUM")
def test_13_letter_word(self): word = "Extraordinary" out = icebox.plum(word) self.sanity_check(word, out)
def test_3_letter_word(self): word = "The" out = icebox.plum(word) self.sanity_check(word, out) self.assertEqual(out, "Plm")