Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/phuryn/claude-usage
/ test_small_numbers
Method
test_small_numbers
tests/test_cli.py:171–173 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
169
self.assertEqual(fmt(1_000),
"1.0K"
)
170
171
def
test_small_numbers(self):
172
self.assertEqual(fmt(999),
"999"
)
173
self.assertEqual(fmt(0),
"0"
)
174
175
176
class
TestFmtCost(unittest.TestCase):
Callers
nothing calls this directly
Calls
1
fmt
Function · 0.90
Tested by
no test coverage detected