Exemplo n.º 1
0
 def test_hash_3(self):
     self.assertEqual(0, solution_hash([1, 2, 3, 1]))
Exemplo n.º 2
0
 def test_hash_slow_3(self):
     self.assertEqual(1, solution_hash(self.slow_3))
Exemplo n.º 3
0
 def test_hash_1(self):
     self.assertEqual(1, solution_hash([2, 3, 9, 2, 2]))