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

Function test_trunk_state_is_alive

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

Source from the content-addressed store, hash-verified

432
433 #[test]
434 fn test_trunk_state_is_alive() {
435 assert!(TrunkState::Alive.is_alive());
436 assert!(!TrunkState::Deleted.is_alive());
437 assert!(!TrunkState::Zombie.is_alive());
438 }
439
440 #[test]
441 fn test_trunk_state_is_deleted() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected