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
commit0983f834b66f046c5468814fa86af3f4a3c215b6 (patch)
treeaf137790ab40290d1cc4e83f3261370c591512bc /tests/cache.cc
parente3369aad54bce775e2951e71618eb2cbb17972f9 (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;
+}