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

Function test_trunk_state_display

atomic-core/src/crdt/trunk.rs:469–473  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

467
468 #[test]
469 fn test_trunk_state_display() {
470 assert_eq!(format!("{}", TrunkState::Alive), "alive");
471 assert_eq!(format!("{}", TrunkState::Deleted), "deleted");
472 assert_eq!(format!("{}", TrunkState::Zombie), "zombie");
473 }
474
475 #[test]
476 fn test_trunk_state_serde() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected