Example #1
0
 def test_ten_one(self):
     self.assertEqual(task1_10.ten("ok"), "ok")
Example #2
0
 def test_ten_empty(self):
     self.assertEqual(task1_10.ten(""), "")
Example #3
0
 def test_ten_latin(self):
     self.assertEqual(
         task1_10.ten(
             "hello world and practice makes perfect and hello world again"
         ), "again and hello makes perfect practice world")
Example #4
0
 def test_ten_ukrainian(self):
     self.assertEqual(task1_10.ten("Київ Чернівці Черкаси Чернівці"),
                      "Київ Черкаси Чернівці")
Example #5
0
 def test_ten_first_letter_equal(self):
     self.assertEqual(task1_10.ten("six seven"), "seven six")
Example #6
0
 def test_ten_duplicates(self):
     self.assertEqual(task1_10.ten("hi hi mam mam"), "hi mam")