示例#1
0
	def testUltimateFinal(self):
		self.assertEquals(findTelephone('Z'), '9')
示例#2
0
	def testUltimate1(self):
		self.assertEquals(findTelephone('1-HOME-SWEET-HOME'), '1-4663-79338-4663')
示例#3
0
	def testUltimate2(self):
		self.assertEquals(findTelephone('MY-MISERABLE-JOB'), '69-647372253-562')
示例#4
0
	def testGHIReturn444(self):
		self.assertEquals(findTelephone('GHI'), '444')
示例#5
0
	def test1Return1(self):
		self.assertEquals(findTelephone('1'), '1')
示例#6
0
 def testDEFReturn333(self):
     self.assertEquals(findTelephone('DEF'), '333')
示例#7
0
	def testDEFReturn333(self):
		self.assertEquals(findTelephone('DEF'),'333')
示例#8
0
 def testAreturn2(self):
     self.assertEquals(findTelephone('A'), '2')
示例#9
0
 def testBReturn2(self):
     self.assertEquals(findTelephone('B'), '2')
示例#10
0
 def testUltimate2(self):
     self.assertEquals(findTelephone('MY-MISERABLE-JOB'),
                       '69-647372253-562')
示例#11
0
 def testUltimateFinal(self):
     self.assertEquals(findTelephone('Z'), '9')
示例#12
0
 def testUltimate1(self):
     self.assertEquals(findTelephone('1-HOME-SWEET-HOME'),
                       '1-4663-79338-4663')
示例#13
0
 def test1Return1(self):
     self.assertEquals(findTelephone('1'), '1')
示例#14
0
 def testGHIReturn444(self):
     self.assertEquals(findTelephone('GHI'), '444')
示例#15
0
	def testAreturn2(self):
		self.assertEquals(findTelephone('A'),'2')
示例#16
0
	def testABCReturn222(self):
		self.assertEquals(findTelephone('ABC'),'222')
示例#17
0
	def testBReturn2(self):
		self.assertEquals(findTelephone('B'),'2')
示例#18
0
 def testABCReturn222(self):
     self.assertEquals(findTelephone('ABC'), '222')