示例#1
0
 def test_equal_1(self):
     self.assertEqual(vanity_plate('boss'), 'BOSS')
示例#2
0
 def test_equal_2(self):
     self.assertEqual(vanity_plate('boss dude'), 'BSS DDE')
示例#3
0
 def test_equal_7(self):
     self.assertEqual(vanity_plate('1 2 3 4 5 6 7 8 9 0'), '')
示例#4
0
 def test_equal_6(self):
     self.assertEqual(vanity_plate('a 00000 a'), 'A00000A')
示例#5
0
 def test_equal_5(self):
     self.assertEqual(vanity_plate('the biggest boss around'), 'TBBA')
示例#6
0
 def test_equal_4(self):
     self.assertEqual(vanity_plate('the big boss'), 'THEBGBSS')
示例#7
0
 def test_equal_3(self):
     self.assertEqual(vanity_plate('b0ss dude'), 'B0SS DDE')