Gitlab service upgraded. Please report any problems to dl_gitadmin@cs.lth.se

Commit b69dc522 authored by Noric Couderc's avatar Noric Couderc

Deleted test

The results of this test were not deterministic
parent c2f16d30
......@@ -162,8 +162,8 @@ public class ApplicationRunner {
// We will generate a file for each data structure.
Map<String, ApplicationGenerator> generators = new HashMap<>();
generators.put("map", new MapApplicationGenerator());
generators.put("set", new SetApplicationGenerator());
generators.put("list", new ListApplicationGenerator());
// generators.put("set", new SetApplicationGenerator());
// generators.put("list", new ListApplicationGenerator());
ApplicationRunner r = new ApplicationRunner();
Gson gson = new Gson();
......
......@@ -296,25 +296,6 @@ public class ApplicationTest {
r.featuresToCSV(data));
}
@Test
public void TestRunApplication() {
ApplicationRunner r = new ApplicationRunner();
List<Application<?>> apps =
new ListApplicationGenerator().createApplications(0, 100, 100);
for (Application a : apps) {
List<Double> times = new ArrayList<>();
for (int n = 0; n < 20; ++n) {
AppRunData result = r.evaluateApplication(a);
times.add(result.getMedian());
}
Assert.assertEquals(0,
variance(times) / average(times),
0.01
);
}
}
@Test
public void TestRunBenchmarks() throws InvocationTargetException, IllegalAccessException {
ApplicationRunner r = new ApplicationRunner();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment