| 86 | } |
| 87 | |
| 88 | TEST_F(FlatBuilderTest, TestInitSuccess) { |
| 89 | IndexBuilder::Pointer builder = IndexFactory::CreateBuilder("FlatBuilder"); |
| 90 | ASSERT_NE(builder, nullptr); |
| 91 | Params params; |
| 92 | ASSERT_EQ(0, builder->init(meta_, params)); |
| 93 | } |
| 94 | |
| 95 | TEST_F(FlatBuilderTest, TestInitFailedWithInvalidMeasure) { |
| 96 | IndexBuilder::Pointer builder = IndexFactory::CreateBuilder("FlatBuilder"); |
nothing calls this directly
no test coverage detected