MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_format_tokens_millions

Function test_format_tokens_millions

atomic-cli/src/commands/agent/attest.rs:893–896  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

891
892 #[test]
893 fn test_format_tokens_millions() {
894 assert_eq!(format_tokens(1_000_000), "1.0M");
895 assert_eq!(format_tokens(2_500_000), "2.5M");
896 }
897
898 #[test]
899 fn test_format_cost_zero() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected