MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / checkAll

Function checkAll

source/test/btree_test.cpp:582–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582void checkAll(SimpleBTree& db, List<int> keys) {
583 for (int k : keys) {
584 auto v = db.find(k);
585 EXPECT_TRUE(checkValue(k, *v));
586 }
587}
588
589size_t removeAll(SimpleBTree& db, List<int> keys) {
590 size_t totalRemoved = 0;

Callers 1

testBTreeFunction · 0.70

Calls 2

checkValueFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected