Exemplo n.º 1
0
 def test_run_8765(self):
     self.assertIs(is_interesting(8765, []), 2)
Exemplo n.º 2
0
 def test_run_89012(self):
     self.assertIs(is_interesting(78901, []), 0)
Exemplo n.º 3
0
 def test_run_43210(self):
     self.assertIs(is_interesting(43210, []), 2)
Exemplo n.º 4
0
 def test_run_67890(self):
     self.assertIs(is_interesting(67890, []), 2)
Exemplo n.º 5
0
 def test_run_3456(self):
     self.assertIs(is_interesting(3456, []), 2)
Exemplo n.º 6
0
 def test_run_50(self):
     self.assertIs(is_interesting(50, []), 0)
Exemplo n.º 7
0
 def test_run_124521(self):
     self.assertIs(is_interesting(124521, []), 0)
Exemplo n.º 8
0
 def test_run_9999(self):
     self.assertIs(is_interesting(9999, []), 2)
Exemplo n.º 9
0
 def test_run_negative100(self):
     self.assertIs(is_interesting(-100, []), 0)
Exemplo n.º 10
0
 def test_run_90000(self):
     self.assertIs(is_interesting(90000, []), 2)
Exemplo n.º 11
0
 def test_run_1111(self):
     self.assertIs(is_interesting(1111, []), 2)
Exemplo n.º 12
0
 def test_run_102(self):
     self.assertIs(is_interesting(102, []), 0)
Exemplo n.º 13
0
 def test_run_98(self):
     self.assertIs(is_interesting(98, []), 1)
Exemplo n.º 14
0
 def test_run_97(self):
     self.assertIs(is_interesting(97, []), 0)
Exemplo n.º 15
0
 def test_run_21098(self):
     self.assertIs(is_interesting(32109, []), 0)
Exemplo n.º 16
0
 def test_run_73437(self):
     self.assertIs(is_interesting(73437, []), 2)
Exemplo n.º 17
0
 def test_run_negative99(self):
     self.assertIs(is_interesting(-99, []), 0)
Exemplo n.º 18
0
 def test_run_zero(self):
     self.assertIs(is_interesting(0, []), 0)