v1.0.0-rc.43

This commit is contained in:
2025-06-13 16:00:50 +02:00
parent 32c9e6926e
commit 80251cc5b8
154 changed files with 912 additions and 148 deletions

View File

@@ -313,4 +313,18 @@ TEST_CASE("StatusVector_Clear","[StatusVector]") {
REQUIRE(plot.GetPlots()[0].x.size() == 2);
REQUIRE(plot.GetPlots()[0].x[0] == 50);
REQUIRE(plot.GetPlots()[0].x[1] == 80);
}
TEST_CASE("StatusVector_GetElement","[StatusVector]") {
StatusVector<uint64_t> status_vector;
status_vector.AddElement(5, 800);
status_vector.AddElement(8, 1000);
REQUIRE(!status_vector.GetElement(0));
REQUIRE(!status_vector.GetElement(3));
REQUIRE(status_vector.GetElement(5) == 800);
REQUIRE(!status_vector.GetElement(7));
REQUIRE(status_vector.GetElement(8) == 1000);
REQUIRE(!status_vector.GetElement(9));
REQUIRE(!status_vector.GetElement(100));
}