Fixed unit test (sla_print_tests - random number generator seeding)

This commit is contained in:
Lukas Matena 2020-01-16 14:03:43 +01:00
parent 43fefd1c43
commit 79e546816d

View File

@ -127,6 +127,7 @@ TEST_CASE("Support point generator should be deterministic if seeded",
for (int i = 0; i < 20; ++i) {
point_gen.output().clear();
point_gen.seed(0);
point_gen.execute(slices, slicegrid);
REQUIRE(point_gen.output().size() == ptnum);
REQUIRE(checksum == get_chksum(point_gen.output()));