mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fixed unit test (sla_print_tests - random number generator seeding)
This commit is contained in:
		
							parent
							
								
									43fefd1c43
								
							
						
					
					
						commit
						79e546816d
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Matena
						Lukas Matena