| 41 | shared_ptr<IndexMeta> FlatSparseBuilderTest::_index_meta_ptr; |
| 42 | |
| 43 | void FlatSparseBuilderTest::SetUp() { |
| 44 | _index_meta_ptr.reset(new (nothrow) IndexMeta(IndexMeta::MetaType::MT_SPARSE, |
| 45 | IndexMeta::DataType::DT_FP32)); |
| 46 | _index_meta_ptr->set_metric("InnerProductSparse", 0, Params()); |
| 47 | } |
| 48 | |
| 49 | void FlatSparseBuilderTest::TearDown() { |
| 50 | zvec::test_util::RemoveTestPath(_dir); |
nothing calls this directly
no test coverage detected