(self)
| 22 | class HashingTest(testing.TestCase): |
| 23 | |
| 24 | def test_ints(self): |
| 25 | hasher = hashing.Hasher(salt='') |
| 26 | res = hasher.hash_key(0) |
| 27 | self.assertEqual(res, 276215275525073243129443018166533317850) |
| 28 | res = hasher.hash_key(123455678901234567890) |
| 29 | self.assertEqual(res, 6876359009333865997613257802033240610) |
| 30 | |
| 31 | def test_ascii(self): |
| 32 | hasher = hashing.Hasher(salt='') |