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

Function test_duration_display_exact_minutes

atomic-agent/src/envelope.rs:901–906  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

899
900 #[test]
901 fn test_duration_display_exact_minutes() {
902 let e = SessionEnvelope::builder("s", "a")
903 .turn_duration_ms(120_000)
904 .build();
905 assert_eq!(e.duration_display(), "2m");
906 }
907
908 #[test]
909 fn test_duration_display_zero() {

Callers

nothing calls this directly

Calls 2

turn_duration_msMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected