summaryrefslogtreecommitdiff
path: root/tests/cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cache.cc')
-rw-r--r--tests/cache.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/cache.cc b/tests/cache.cc
new file mode 100644
index 0000000..6580563
--- /dev/null
+++ b/tests/cache.cc
@@ -0,0 +1,8 @@
+#include "cache.h"
+#include <catch2/catch_test_macros.hpp>
+
+TEST_CASE("Constructor initialize test 1", "[cache]")
+{
+ Cache *c = new Cache(1, nullptr, 4);
+ delete c;
+}