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

Function test_memory_allocate_inode

atomic-core/src/output/memory.rs:735–743  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

733
734 #[test]
735 fn test_memory_allocate_inode() {
736 let wc = Memory::new();
737 let i1 = wc.allocate_inode();
738 let i2 = wc.allocate_inode();
739 let i3 = wc.allocate_inode();
740 assert_ne!(i1, i2);
741 assert_ne!(i2, i3);
742 assert_ne!(i1, i3);
743 }
744
745 #[test]
746 fn test_memory_clear() {

Callers

nothing calls this directly

Calls 1

allocate_inodeMethod · 0.80

Tested by

no test coverage detected