Commit 93446b7
committed
test: add abbreviateCount edge case tests for large/near-boundary counts
Add 2 tests for abbreviateCount paths that weren't covered:
- 100M (>=100 so uses rounded path, not 1dp) — exercises lines 239-245
- ~999.5M which rounds to 1000 and bumps to G suffix (or stays at 999M) —
exercises lines 241-243 (tier overflow path)1 parent 34e5c04 commit 93446b7
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2554 | 2554 | | |
2555 | 2555 | | |
2556 | 2556 | | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
2557 | 2576 | | |
2558 | 2577 | | |
2559 | 2578 | | |
| |||
0 commit comments