#include "cache.h" #include TEST_CASE("Constructor initialize test 1", "[cache]") { Cache *c = new Cache(1, nullptr, 4); std::array expected = {0, 0, 0, 0}; std::array actual = c->view(0, 1)[0]; CHECK(expected == actual); delete c; }