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

Function test_wall_duration_display

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

Source from the content-addressed store, hash-verified

1159
1160 #[test]
1161 fn test_wall_duration_display() {
1162 let a = Attestation::builder("s", make_agent())
1163 .duration_wall_ms(2_354_000)
1164 .build();
1165 assert_eq!(a.wall_duration_display(), "39m 14s");
1166 }
1167
1168 #[test]
1169 fn test_attestation_display() {

Callers

nothing calls this directly

Calls 3

make_agentFunction · 0.85
duration_wall_msMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected