Fixed unit test (sla_print_tests - random number generator seeding)
This commit is contained in:
parent
43fefd1c43
commit
79e546816d
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user