Exemplo n.º 1
0
 def test_halfway_captcha_of_12131415_is_4(self):
     self.assertEquals(4, inverse_captcha.halfway_captcha(12131415))
Exemplo n.º 2
0
 def test_halfway_captcha_of_1221_is_0(self):
     self.assertEquals(0, inverse_captcha.halfway_captcha(1221))
Exemplo n.º 3
0
 def test_halfway_captcha_of_123123_is_12(self):
     self.assertEquals(12, inverse_captcha.halfway_captcha(123123))
Exemplo n.º 4
0
 def test_halfway_captcha_of_1212_is_6(self):
     self.assertEquals(6, inverse_captcha.halfway_captcha(1212))