()
| 1708 | |
| 1709 | #[test] |
| 1710 | fn test_format_tokens_thousands() { |
| 1711 | assert_eq!(format_tokens(1_000), "1.0k"); |
| 1712 | assert_eq!(format_tokens(8_400), "8.4k"); |
| 1713 | assert_eq!(format_tokens(526_900), "526.9k"); |
| 1714 | } |
| 1715 | |
| 1716 | #[test] |
| 1717 | fn test_format_tokens_millions() { |
nothing calls this directly
no outgoing calls
no test coverage detected