summaryrefslogtreecommitdiff
path: root/tests/cache.cc
diff options
context:
space:
mode:
authorbd <bdunaisky@umass.edu>2025-03-06 21:28:20 +0000
committerGitHub <noreply@github.com>2025-03-06 21:28:20 +0000
commit04909d2bf353494a84bdf8d3d0e2f48ceeaa2ea0 (patch)
treeaf137790ab40290d1cc4e83f3261370c591512bc /tests/cache.cc
parentb88f24b680be34b3669f33214758c76439d7b777 (diff)
parente296a3a6ab782cb80b7091324b41bb78db6d3906 (diff)
Merge pull request #13 from bdunahu/bdunahu
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..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;
+}