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

Function test_wall_duration_display

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

Source from the content-addressed store, hash-verified

1680
1681 #[test]
1682 fn test_wall_duration_display() {
1683 let a = Attestation::builder("s", make_agent())
1684 .duration_wall_ms(2_354_000)
1685 .build();
1686 assert_eq!(a.wall_duration_display(), "39m 14s");
1687 }
1688
1689 #[test]
1690 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