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

Function test_leaf_state_as_char

atomic-core/src/crdt/leaf.rs:487–490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

485
486 #[test]
487 fn test_leaf_state_as_char() {
488 assert_eq!(LeafState::Alive.as_char(), 'A');
489 assert_eq!(LeafState::Deleted.as_char(), 'D');
490 }
491
492 #[test]
493 fn test_leaf_state_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected