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

Function test_apply_common_clears_ended_at

atomic-agent/src/turn/phase.rs:1354–1365  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1352
1353 #[test]
1354 fn test_apply_common_clears_ended_at() {
1355 let mut session = MockSession::new();
1356 let result = TransitionResult::with_actions(
1357 Phase::Idle,
1358 vec![Action::ClearEndedAt, Action::UpdateInteraction],
1359 );
1360
1361 apply_common_actions(&mut session, &result);
1362
1363 assert!(session.ended_at_cleared.get());
1364 assert!(session.interaction_touched.get());
1365 }
1366
1367 #[test]
1368 fn test_apply_common_returns_strategy_actions() {

Callers

nothing calls this directly

Calls 1

apply_common_actionsFunction · 0.85

Tested by

no test coverage detected