summaryrefslogtreecommitdiffstats
path: root/tests/include/concurrent_extension.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-02-07 10:56:52 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2024-02-07 10:56:52 -0500
commit10b4425e842d10b7fbfa85978969ed4591d6b98e (patch)
tree5918d1845f71aa0db7981e894c83f8d8252cd102 /tests/include/concurrent_extension.h
parent0ff3cedf5df9c27bccd3053ce6339e317f87ff76 (diff)
downloaddynamic-extension-10b4425e842d10b7fbfa85978969ed4591d6b98e.tar.gz
Fully implemented Query concept and adjusted queries to use it
Diffstat (limited to 'tests/include/concurrent_extension.h')
-rw-r--r--tests/include/concurrent_extension.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/include/concurrent_extension.h b/tests/include/concurrent_extension.h
index a0e71c9..24cb2ce 100644
--- a/tests/include/concurrent_extension.h
+++ b/tests/include/concurrent_extension.h
@@ -22,7 +22,7 @@
* should be included in the source file that includes this one, above the
* include statement.
*/
-#include "testing.h"
+/*#include "testing.h"
#include "framework/DynamicExtension.h"
#include "framework/scheduling/FIFOScheduler.h"
#include "shard/ISAMTree.h"
@@ -31,6 +31,7 @@
//using namespace de;
//typedef DynamicExtension<Rec, ISAMTree<Rec>, rq::Query<ISAMTree<Rec>, Rec>, LayoutPolicy::LEVELING, DeletePolicy::TOMBSTONE, FIFOScheduler> DE;
+*/
START_TEST(t_create)
@@ -169,10 +170,10 @@ START_TEST(t_range_query)
p.lower_bound = lower_key;
p.upper_bound = upper_key;
- fprintf(stderr, "query start\n");
+ //fprintf(stderr, "query start\n");
auto result = test_de->query(&p);
auto r = result.get();
- fprintf(stderr, "query stop\n");
+ //fprintf(stderr, "query stop\n");
std::sort(r.begin(), r.end());
ck_assert_int_eq(r.size(), 251);