def test_shi(self): # Assert integer hashing algorithm. for a, b in ( ( 100, "1c"), ( 1000, "G8"), ( 10000, "2bI"), (100000, "Q0u")): self.assertEqual(vector.shi(a), b) print("pattern.vector.shi()")
def test_shi(self): # Assert integer hashing algorithm. for a, b in ( (100, "1c"), (1000, "G8"), (10000, "2bI"), (100000, "Q0u")): self.assertEqual(vector.shi(a), b) print("pattern.vector.shi()")