Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidaurelio/hashids-python
/ test_negative_call
Method
test_negative_call
test/test_hashids.py:84–85 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
82
assert h.encode(99, 25) ==
'373az'
83
84
def
test_negative_call(self):
85
assert Hashids().encode(1, -2, 3) ==
''
86
87
def
test_float_call(self):
88
assert Hashids().encode(1, 2.5, 3) ==
''
Callers
nothing calls this directly
Calls
2
Hashids
Class · 0.90
encode
Method · 0.80
Tested by
no test coverage detected