Пример #1
0
 def test_6_letter_word(self):
     word = "whales"
     out = icebox.plum(word)
     self.sanity_check(word, out)
Пример #2
0
 def test_mixcapped_4_letter_word(self):
     word = "BooK"
     out = icebox.plum(word)
     self.sanity_check(word, out)
     self.assertEqual(out, "PluM")
Пример #3
0
 def test_5_letter_word(self):
     word = "clock"
     out = icebox.plum(word)
     self.sanity_check(word, out)
Пример #4
0
 def test_4_letter_word(self):
     word = "book"
     out = icebox.plum(word)
     self.sanity_check(word, out)
     self.assertEqual(out, "plum")
Пример #5
0
 def test_upper_4_letter_word(self):
     word = "BOOK"
     out = icebox.plum(word)
     self.sanity_check(word, out)
     self.assertEqual(out, "PLUM")
Пример #6
0
 def test_13_letter_word(self):
     word = "Extraordinary"
     out = icebox.plum(word)
     self.sanity_check(word, out)
Пример #7
0
 def test_3_letter_word(self):
     word = "The"
     out = icebox.plum(word)
     self.sanity_check(word, out)
     self.assertEqual(out, "Plm")
Пример #8
0
 def test_5_letter_word(self):
     word = "clock"
     out = icebox.plum(word)
     self.sanity_check(word, out)
Пример #9
0
 def test_6_letter_word(self):
     word = "whales"
     out = icebox.plum(word)
     self.sanity_check(word, out)
Пример #10
0
 def test_mixcapped_4_letter_word(self):
     word = "BooK"
     out = icebox.plum(word)
     self.sanity_check(word, out)
     self.assertEqual(out, "PluM")
Пример #11
0
 def test_upper_4_letter_word(self):
     word = "BOOK"
     out = icebox.plum(word)
     self.sanity_check(word, out)
     self.assertEqual(out, "PLUM")
Пример #12
0
 def test_4_letter_word(self):
     word = "book"
     out = icebox.plum(word)
     self.sanity_check(word, out)
     self.assertEqual(out, "plum")
Пример #13
0
 def test_3_letter_word(self):
     word = "The"
     out = icebox.plum(word)
     self.sanity_check(word, out)
     self.assertEqual(out, "Plm")
Пример #14
0
 def test_13_letter_word(self):
     word = "Extraordinary"
     out = icebox.plum(word)
     self.sanity_check(word, out)