@@ -77,8 +77,8 @@ class CroAlgorithmTest {
7777 randomness.updateSeed(123L )
7878
7979 // Single molecule guarantees uni-molecular branch regardless of collision rate
80- config.populationSize = 1
8180 defaultSetup(config)
81+ config.populationSize = 1
8282 // Force decomposition check to true without touching internal state (0 > -1)
8383 config.croDecompositionThreshold = - 1
8484
@@ -116,8 +116,8 @@ class CroAlgorithmTest {
116116 randomness.updateSeed(789L )
117117
118118 // Uni-molecular branch
119- config.populationSize = 1
120119 defaultSetup(config)
120+ config.populationSize = 1
121121 // Force decomposition check true
122122 config.croDecompositionThreshold = - 1
123123
@@ -154,8 +154,8 @@ class CroAlgorithmTest {
154154 val randomness = injector.getInstance(Randomness ::class .java)
155155 randomness.updateSeed(456L )
156156
157- config.populationSize = 1
158157 defaultSetup(config)
158+ config.populationSize = 1
159159
160160 cro.setupBeforeSearch()
161161
@@ -190,8 +190,8 @@ class CroAlgorithmTest {
190190 val randomness = injector.getInstance(Randomness ::class .java)
191191 randomness.updateSeed(321L )
192192
193- config.populationSize = 1
194193 defaultSetup(config)
194+ config.populationSize = 1
195195
196196 // Force on-wall branch (decomposition false)
197197 config.croDecompositionThreshold = Int .MAX_VALUE
@@ -227,8 +227,8 @@ class CroAlgorithmTest {
227227 randomness.updateSeed(111L )
228228
229229 // Force inter-molecular branch and synthesis check true (KE=0 <= threshold)
230- config.populationSize = 2
231230 defaultSetup(config)
231+ config.populationSize = 2
232232 config.croMolecularCollisionRate = 1.0
233233 config.croSynthesisThreshold = 0.0
234234
@@ -261,8 +261,8 @@ class CroAlgorithmTest {
261261 val randomness = injector.getInstance(Randomness ::class .java)
262262 randomness.updateSeed(112L )
263263
264- config.populationSize = 2
265264 defaultSetup(config)
265+ config.populationSize = 2
266266 config.croMolecularCollisionRate = 1.0
267267 config.croSynthesisThreshold = 0.0 // synthesisCheck true
268268
@@ -298,8 +298,8 @@ class CroAlgorithmTest {
298298 val randomness = injector.getInstance(Randomness ::class .java)
299299 randomness.updateSeed(113L )
300300
301- config.populationSize = 2
302301 defaultSetup(config)
302+ config.populationSize = 2
303303 config.croMolecularCollisionRate = 1.0
304304 config.croSynthesisThreshold = - 1.0 // synthesisCheck false
305305
@@ -337,8 +337,8 @@ class CroAlgorithmTest {
337337 val randomness = injector.getInstance(Randomness ::class .java)
338338 randomness.updateSeed(114L )
339339
340- config.populationSize = 2
341340 defaultSetup(config)
341+ config.populationSize = 2
342342 config.croMolecularCollisionRate = 1.0
343343 config.croSynthesisThreshold = - 1.0 // synthesisCheck false
344344
0 commit comments