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

Function test_event_as_str

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

Source from the content-addressed store, hash-verified

781
782 #[test]
783 fn test_event_as_str() {
784 assert_eq!(Event::TurnStart.as_str(), "turn_start");
785 assert_eq!(Event::TurnEnd.as_str(), "turn_end");
786 assert_eq!(Event::Recorded.as_str(), "recorded");
787 assert_eq!(Event::SessionStart.as_str(), "session_start");
788 assert_eq!(Event::SessionStop.as_str(), "session_stop");
789 }
790
791 #[test]
792 fn test_event_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected