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

Function test_trunk_state_as_char

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

Source from the content-addressed store, hash-verified

460
461 #[test]
462 fn test_trunk_state_as_char() {
463 assert_eq!(TrunkState::Alive.as_char(), 'A');
464 assert_eq!(TrunkState::Deleted.as_char(), 'D');
465 assert_eq!(TrunkState::Zombie.as_char(), 'Z');
466 }
467
468 #[test]
469 fn test_trunk_state_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected