MCPcopy Create free account
hub / github.com/antgroup/vsag / TestSparseGraphDataCell

Function TestSparseGraphDataCell

src/datacell/sparse_graph_datacell_test.cpp:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26using namespace vsag;
27
28void
29TestSparseGraphDataCell(const GraphInterfaceParamPtr& param,
30 const IndexCommonParam& common_param,
31 bool test_delete) {
32 auto count = GENERATE(1000, 2000);
33 auto max_id = 10000;
34
35 auto graph = GraphInterface::MakeInstance(param, common_param);
36 GraphInterfaceTest test(graph);
37 auto other = GraphInterface::MakeInstance(param, common_param);
38 test.BasicTest(max_id, count, other, test_delete);
39}
40
41TEST_CASE("SparseGraphDataCell Basic Test", "[ut][SparseGraphDataCell]") {
42 auto allocator = SafeAllocator::FactoryDefaultAllocator();

Callers 1

Calls 1

BasicTestMethod · 0.45

Tested by

no test coverage detected