MCPcopy Create free account
hub / github.com/ElementsProject/elements / TEST

Function TEST

src/leveldb/db/version_set_test.cc:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53TEST(FindFileTest, Empty) {
54 ASSERT_EQ(0, Find("foo"));
55 ASSERT_TRUE(!Overlaps("a", "z"));
56 ASSERT_TRUE(!Overlaps(nullptr, "z"));
57 ASSERT_TRUE(!Overlaps("a", nullptr));
58 ASSERT_TRUE(!Overlaps(nullptr, nullptr));
59}
60
61TEST(FindFileTest, Single) {
62 Add("p", "q");

Callers

nothing calls this directly

Calls 6

AddBoundaryInputsFunction · 0.85
InternalKeyClass · 0.85
AddFunction · 0.50
emptyMethod · 0.45
push_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected