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

Function test_cost_display

atomic-core/src/change/provenance/tests.rs:167–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165
166#[test]
167fn test_cost_display() {
168 let small = Cost::from_usd(0.001);
169 assert!(format!("{}", small).contains("0.001"));
170
171 let larger = Cost::from_usd(1.50);
172 assert!(format!("{}", larger).contains("1.50"));
173}
174
175// PromptContent Tests
176

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected