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

Function test_begin_turn

atomic-agent/src/turn/session.rs:860–865  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

858
859 #[test]
860 fn test_begin_turn() {
861 let mut s = make_session();
862 assert!(s.current_turn_started_at.is_none());
863 s.begin_turn();
864 assert!(s.current_turn_started_at.is_some());
865 }
866
867 #[test]
868 fn test_end_turn() {

Callers

nothing calls this directly

Calls 2

make_sessionFunction · 0.70
begin_turnMethod · 0.45

Tested by

no test coverage detected