This commit is contained in:
Erik Frojdh
2019-05-14 14:53:59 +02:00
parent 9fd2866fc0
commit 1029ce9705
3 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ SCENARIO("FixedCapacityContainers can be sized and resized", "[support]") {
FixedCapacityContainer<int, n_elem> vec;
REQUIRE(vec.empty());
REQUIRE(vec.size() == 0);
REQUIRE(vec.size() == 0); //NOLINT
REQUIRE(vec.capacity() == n_elem);
REQUIRE(sizeof(vec) == sizeof(int) * n_elem + sizeof(size_t));