コード例 #1
0
 def test_equals_2(self):
     self.assertEqual(decode('Blf zoivzwb szw 10 yvvih'),
                      'You already had 10 beers')
コード例 #2
0
 def test_equals_4(self):
     self.assertEqual(decode('Tl slnv, blf\'iv wifmp'),
                      'Go home, you\'re drunk')
コード例 #3
0
 def test_equals(self):
     self.assertEqual(decode('yvvi'), 'beer')
コード例 #4
0
 def test_equals_3(self):
     self.assertEqual(decode('Ovg\'h hdrn rm gsv ulfmgzrm!'),
                      'Let\'s swim in the fountain!')