def test_hexbin_long(self): hexval = 'bc117be99339576519af05e91d51376feabd4706' longval = 1073680171875912199119184443246291065335917135622 assert hash.hexbin(hexval) == longval
def test_hexbin_short(self): assert hash.hexbin('e') == 14 assert hash.hexbin('abc123abc123') == 188846015496483