summaryrefslogtreecommitdiff
path: root/datastructures/test/persistent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'datastructures/test/persistent.cpp')
-rw-r--r--datastructures/test/persistent.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/datastructures/test/persistent.cpp b/datastructures/test/persistent.cpp
deleted file mode 100644
index 5e5f864..0000000
--- a/datastructures/test/persistent.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#define all(X) begin(X), end(X)
-#include "../persistent.cpp"
-
-int main() {
- int time = 0;
- persistent<int> p(time, 0);
- p.set(1);
- int t1 = time;
- p.set(2);
- assert(p.get(t1) == 1);
-}