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

Function test_duration_display_zero

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

Source from the content-addressed store, hash-verified

907
908 #[test]
909 fn test_duration_display_zero() {
910 let e = SessionEnvelope::builder("s", "a")
911 .turn_duration_ms(0)
912 .build();
913 assert_eq!(e.duration_display(), "0ms");
914 }
915
916 #[test]
917 fn test_duration_display_one_second() {

Callers

nothing calls this directly

Calls 2

turn_duration_msMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected