use of uk.ac.sussex.gdsc.test.junit5.SpeedTag in project GDSC-SMLM by aherbert.
the class ConvolutionTest method doDoubleSpeedTest.
@SpeedTag
@SeededTest
void doDoubleSpeedTest(RandomSeed seed) {
Assumptions.assumeTrue(logger.isLoggable(Level.INFO));
Assumptions.assumeTrue(TestSettings.allow(TestComplexity.HIGH));
final UniformRandomProvider rg = RngUtils.create(seed.getSeed());
int size = 10;
for (int i = 0; i < sizeLoops; i++) {
double sd = 0.5;
for (int j = 0; j < sdLoops; j++) {
doubleSpeedTest(rg, size, sd);
sd *= 2;
}
size *= 2;
}
}
Aggregations