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

Function test_turn_event_display

atomic-agent/src/event.rs:913–920  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

911
912 #[test]
913 fn test_turn_event_display() {
914 let event =
915 TurnEvent::new("sess-abc", HookType::TurnStart).with_prompt("Fix authentication bug");
916 let display = event.to_string();
917 assert!(display.contains("turn_start"));
918 assert!(display.contains("sess-abc"));
919 assert!(display.contains("Fix authentication bug"));
920 }
921
922 #[test]
923 fn test_turn_event_display_with_tool() {

Callers

nothing calls this directly

Calls 1

with_promptMethod · 0.80

Tested by

no test coverage detected