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

Function test_cost_display_small

atomic-core/src/change/attestation.rs:1658–1663  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1656
1657 #[test]
1658 fn test_cost_display_small() {
1659 let a = Attestation::builder("s", make_agent())
1660 .cost_usd(0.0057)
1661 .build();
1662 assert_eq!(a.cost_display(), "$0.0057");
1663 }
1664
1665 #[test]
1666 fn test_cost_display_normal() {

Callers

nothing calls this directly

Calls 3

make_agentFunction · 0.85
buildMethod · 0.45
cost_usdMethod · 0.45

Tested by

no test coverage detected