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

Function test_cost_display_small

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

Source from the content-addressed store, hash-verified

1135
1136 #[test]
1137 fn test_cost_display_small() {
1138 let a = Attestation::builder("s", make_agent())
1139 .cost_usd(0.0057)
1140 .build();
1141 assert_eq!(a.cost_display(), "$0.0057");
1142 }
1143
1144 #[test]
1145 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