MCPcopy
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
176class TestFmtCost(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

fmtFunction · 0.90

Tested by

no test coverage detected