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

Function test_duration_display_milliseconds

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

Source from the content-addressed store, hash-verified

859
860 #[test]
861 fn test_duration_display_milliseconds() {
862 let e = SessionEnvelope::builder("s", "a")
863 .turn_duration_ms(500)
864 .build();
865 assert_eq!(e.duration_display(), "500ms");
866 }
867
868 #[test]
869 fn test_duration_display_seconds_with_decimal() {

Callers

nothing calls this directly

Calls 2

turn_duration_msMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected