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

Function test_alloc_inode

atomic-core/src/crdt/apply/traits.rs:947–954  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

945
946 #[test]
947 fn test_alloc_inode() {
948 let mut txn = MockCrdtTxn::new();
949
950 let inode1 = txn.alloc_inode().unwrap();
951 let inode2 = txn.alloc_inode().unwrap();
952
953 assert_ne!(inode1, inode2);
954 }
955}

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
alloc_inodeMethod · 0.45

Tested by

no test coverage detected