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

Function test_envelope_duration

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

Source from the content-addressed store, hash-verified

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