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

Function test_envelope_duration

atomic-agent/src/record/tests.rs:767–774  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

765
766#[test]
767fn test_envelope_duration() {
768 let session = make_session();
769 let event = make_event();
770 let options = make_options(&session, &event);
771
772 let env = build_turn_envelope(&options, &[]);
773 assert_eq!(env.turn_duration_ms, 12400);
774}
775
776#[test]
777fn test_envelope_files_in_turn() {

Callers

nothing calls this directly

Calls 4

make_eventFunction · 0.85
make_optionsFunction · 0.85
build_turn_envelopeFunction · 0.85
make_sessionFunction · 0.70

Tested by

no test coverage detected