Fixed not being able to assign to bool list.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-22 18:44:50 +01:00
parent cc86041b06
commit 97bd13a1cb
2 changed files with 14 additions and 4 deletions

View File

@@ -53,5 +53,13 @@ TEST_CASE("Create const List, iterate over values", "[Utilities]") {
}
}
TEST_CASE("Create list of bools, assign to it", "[Utilities]") {
auto ls = List<bool>({false, false, false});
ls[1] = true;
CHECK(ls[1]);
}
#endif