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

Function test_phase_serde_roundtrip

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

Source from the content-addressed store, hash-verified

759
760 #[test]
761 fn test_phase_serde_roundtrip() {
762 for phase in &ALL_PHASES {
763 let json = serde_json::to_string(phase).unwrap();
764 let recovered: Phase = serde_json::from_str(&json).unwrap();
765 assert_eq!(*phase, recovered, "Serde roundtrip failed for {:?}", phase);
766 }
767 }
768
769 #[test]
770 fn test_phase_serde_values() {

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected