MCPcopy Create free account
hub / github.com/alibaba/zvec / TEST_F

Function TEST_F

tests/core/algorithm/flat/flat_builder_test.cc:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80TEST_F(FlatBuilderTest, TestInitSuccess) {
81 IndexBuilder::Pointer builder = IndexFactory::CreateBuilder("FlatBuilder");
82 ASSERT_NE(builder, nullptr);
83 Params params;
84 ASSERT_EQ(0, builder->init(meta_, params));
85}
86
87TEST_F(FlatBuilderTest, TestInitFailedWithInvalidMeasure) {
88 IndexBuilder::Pointer builder = IndexFactory::CreateBuilder("FlatBuilder");

Callers

nothing calls this directly

Calls 11

ParamsClass · 0.85
build_processFunction · 0.85
set_major_orderMethod · 0.80
initMethod · 0.45
set_metaMethod · 0.45
set_metricMethod · 0.45
major_orderMethod · 0.45
emplaceMethod · 0.45
trainMethod · 0.45
buildMethod · 0.45
cleanupMethod · 0.45

Tested by

no test coverage detected