void TearDown()
 {
     delete[] data_.ptr();
     delete[] query_.ptr();
     delete[] match_.ptr();
     delete[] dists_.ptr();
     delete[] indices_.ptr();
 }
 void TearDown()
 {
     delete[] data.ptr();
     delete[] query.ptr();
     delete[] match.ptr();
     delete[] dists.ptr();
     delete[] indices.ptr();
 }
 void TearDown()
 {
     delete[] data_.ptr();
     delete[] query_.ptr();
     delete[] dists_single_.ptr();
     delete[] indices_single_.ptr();
     delete[] dists_multi_.ptr();
     delete[] indices_multi_.ptr();
 }
 void TearDown()
 {
     delete[] data.ptr();
     delete[] query.ptr();
     delete[] dists_single.ptr();
     delete[] indices_single.ptr();
     delete[] dists_multi.ptr();
     delete[] indices_multi.ptr();
 }