diff options
author | Lukas Matena <lukasmatena@seznam.cz> | 2020-01-16 16:03:43 +0300 |
---|---|---|
committer | Lukas Matena <lukasmatena@seznam.cz> | 2020-01-16 16:03:43 +0300 |
commit | 79e546816da97356fa0f4f74797048fc30aa926a (patch) | |
tree | de2553b943776b14a34117b025051259913720b1 /tests | |
parent | 43fefd1c43a41b39551d03d901a937d6476df15d (diff) |
Fixed unit test (sla_print_tests - random number generator seeding)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sla_print/sla_print_tests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sla_print/sla_print_tests.cpp b/tests/sla_print/sla_print_tests.cpp index b08c931e3..f34fb9096 100644 --- a/tests/sla_print/sla_print_tests.cpp +++ b/tests/sla_print/sla_print_tests.cpp @@ -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())); |