| 78 | } |
| 79 | |
| 80 | TEST_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 | |
| 87 | TEST_F(FlatBuilderTest, TestInitFailedWithInvalidMeasure) { |
| 88 | IndexBuilder::Pointer builder = IndexFactory::CreateBuilder("FlatBuilder"); |
nothing calls this directly
no test coverage detected