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

Function test_cost_display_normal

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

Source from the content-addressed store, hash-verified

1664
1665 #[test]
1666 fn test_cost_display_normal() {
1667 let a = Attestation::builder("s", make_agent())
1668 .cost_usd(1.23)
1669 .build();
1670 assert_eq!(a.cost_display(), "$1.23");
1671 }
1672
1673 #[test]
1674 fn test_api_duration_display() {

Callers

nothing calls this directly

Calls 3

make_agentFunction · 0.85
buildMethod · 0.45
cost_usdMethod · 0.45

Tested by

no test coverage detected