1
0
forked from fsfw/fsfw

move container retvals to namespace

This commit is contained in:
2022-11-15 10:01:37 +01:00
parent 1b8fc2af19
commit c013fcc1f5
6 changed files with 34 additions and 27 deletions

View File

@ -43,7 +43,7 @@ TEST_CASE("Array List", "[containers]") {
for (auto i = 0; i < 20; i++) {
REQUIRE(list.insert(i) == static_cast<int>(returnvalue::OK));
}
REQUIRE(list.insert(20) == static_cast<int>(ArrayList<uint16_t>::FULL));
REQUIRE(list.insert(20) == static_cast<int>(containers::LIST_FULL));
ArrayList<uint16_t>::Iterator it = list.begin();
REQUIRE((*it) == 0);
it++;