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

Function test_duration_display_seconds_whole

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

Source from the content-addressed store, hash-verified

875
876 #[test]
877 fn test_duration_display_seconds_whole() {
878 let e = SessionEnvelope::builder("s", "a")
879 .turn_duration_ms(45_000)
880 .build();
881 assert_eq!(e.duration_display(), "45s");
882 }
883
884 #[test]
885 fn test_duration_display_seconds_fractional_mid_range() {

Callers

nothing calls this directly

Calls 2

turn_duration_msMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected