Пример #1
0
 def test_generate_long_sudden_death(self):
     self.assertEqual(
         generator('これが人類最大の威力の攻撃手段!! これこそが!究極の攻撃魔法. エクスプロォージョンッ!!!'),
         '_人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人人_\n'
         '> これが人類最大の威力の攻撃手段!! これこそが!究極の攻撃魔法. エクスプロォージョンッ!!! <\n'
         ' ̄Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y^Y ̄'
     )
Пример #2
0
 def test_generate_middle_English_sudden_death(self):
     self.assertEqual(
         generator('The Long Dark'), "_人人人人人人人人_\n"
         "> The Long Dark <\n"
         " ̄Y^Y^Y^Y^Y^Y^Y^Y ̄")
Пример #3
0
 def test_generate_short_English_sudden_death(self):
     self.assertEqual(generator('die!'), "_人人人人_\n"
                      "> die! <\n"
                      " ̄Y^Y^Y^Y ̄")
Пример #4
0
 def test_generate_middle_sudden_death(self):
     self.assertEqual(
         generator('一般的突然の死!'), "_人人人人人人人人人人_\n"
         "> 一般的突然の死! <\n"
         " ̄Y^Y^Y^Y^Y^Y^Y^Y^Y^Y ̄")
Пример #5
0
 def test_generate_small_sudden_death(self):
     self.assertEqual(generator('死!'), "_人人人_\n" "> 死! <\n" " ̄Y^Y^Y ̄")