]> git.treefish.org Git - phys/latlib.git/blobdiff - hypercache_test.cpp
hypercache now working.
[phys/latlib.git] / hypercache_test.cpp
diff --git a/hypercache_test.cpp b/hypercache_test.cpp
new file mode 100644 (file)
index 0000000..388ab0a
--- /dev/null
@@ -0,0 +1,16 @@
+#include "hypercache.h"
+
+#include <string>
+
+using namespace std;
+
+int main() {
+  char *test;
+  char *test2;
+
+  hypercache::initO("hallo", 100, 10, "", &test, sizeof(int), CACHE_MODE_READ);
+
+  hypercache::addPara("kappa", 1);
+
+  hypercache::readO();
+}