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

Function test_phase_serde_values

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

Source from the content-addressed store, hash-verified

768
769 #[test]
770 fn test_phase_serde_values() {
771 assert_eq!(serde_json::to_string(&Phase::Idle).unwrap(), "\"idle\"");
772 assert_eq!(serde_json::to_string(&Phase::Active).unwrap(), "\"active\"");
773 assert_eq!(
774 serde_json::to_string(&Phase::ActiveRecorded).unwrap(),
775 "\"active_recorded\""
776 );
777 assert_eq!(serde_json::to_string(&Phase::Ended).unwrap(), "\"ended\"");
778 }
779
780 // Event tests
781

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected