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

Function test_envelope_duration

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

Source from the content-addressed store, hash-verified

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