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

Function test_envelope_duration

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

Source from the content-addressed store, hash-verified

764
765#[test]
766fn test_envelope_duration() {
767 let session = make_session();
768 let event = make_event();
769 let options = make_options(&session, &event);
770
771 let env = build_turn_envelope(&options, &[]);
772 assert_eq!(env.turn_duration_ms, 12400);
773}
774
775#[test]
776fn 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