summaryrefslogtreecommitdiff
path: root/tests/cache.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-05 14:17:45 -0500
committerbd <bdunahu@operationnull.com>2025-03-05 14:17:45 -0500
commitdb158de830e4fd4ab20ef5d357e24147c7a9281d (patch)
treea00ae7890a5b8eba91f81ac84d20a5ee0c5be0d6 /tests/cache.cc
parentb4d1e8248400015f2fd0c4b0f04cf33dc867e9cd (diff)
constructors + method declarations for cache, dram, reponse, storage
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..df5004a
--- /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;
+}