From bd74e27b28bd95267ce50d2e4b6f12b51d9b6aae Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Wed, 7 Feb 2024 17:23:23 -0500 Subject: Cleaned up shard files (except VPTree) Cleaned up shard implementations, fixed a few bugs, and set up some tests. There's still some work to be done in creating tests for the weighted sampling operations for the alias and aug btree shards. --- tests/memisam_tests.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/memisam_tests.cpp') diff --git a/tests/memisam_tests.cpp b/tests/memisam_tests.cpp index b398524..9117ce3 100644 --- a/tests/memisam_tests.cpp +++ b/tests/memisam_tests.cpp @@ -12,21 +12,19 @@ #include "shard/ISAMTree.h" #include "include/testing.h" -#include "query/rangequery.h" #include - - using namespace de; -typedef ISAMTree Shard; +typedef Rec R; +typedef ISAMTree Shard; #include "include/shard_standard.h" #include "include/rangequery.h" Suite *unit_testing() { - Suite *unit = suite_create("ISAMTree Shard Unit Testing"); + Suite *unit = suite_create("Alias-augmented B+Tree Shard Unit Testing"); inject_rangequery_tests(unit); inject_shard_tests(unit); -- cgit v1.2.3