예제 #1
0
 def test_license_number(self):
     self.assertEqual("a-b-c-d-f-d-d-f", license_number("a-bc-dfd-df", 1))
     self.assertEqual("ab-cd-fd-df", license_number("a-bc-dfd-df", 2))
     self.assertEqual("ab-cdf-ddf", license_number("a-bc-dfd-df", 3))
     self.assertEqual("abcd-fddf", license_number("a-bc-dfd-df", 4))
     self.assertEqual("abc-dfddf", license_number("a-bc-dfd-df", 5))
예제 #2
0
 def test_license_number(self):
     self.assertEqual("a-b-c-d-f-d-d-f", license_number("a-bc-dfd-df", 1))
     self.assertEqual("ab-cd-fd-df", license_number("a-bc-dfd-df", 2))
     self.assertEqual("ab-cdf-ddf", license_number("a-bc-dfd-df", 3))
     self.assertEqual("abcd-fddf", license_number("a-bc-dfd-df", 4))
     self.assertEqual("abc-dfddf", license_number("a-bc-dfd-df", 5))