#include "cache.h" #include "definitions.h" #include TEST_CASE("Constructor singleton dram", "[cache]") { Cache *c = new Cache(1, nullptr, LINE_SIZE); std::array expected = {0, 0, 0, 0}; std::array actual = c->view(0, 1)[0]; REQUIRE(expected == actual); delete c; }