Commit e0bb9942 authored by jon.fehling's avatar jon.fehling
Browse files

corrected path and added second performance test

parent b59c5d1c
......@@ -29,7 +29,7 @@ class IOTestsWithError extends Assignment2TestBase {
@Test
@DisplayName("sport-tests")
void sportTests() {
testWithIOFile(getDataFolderDirectory() + "athlete_tests.io");
testWithIOFile(getDataFolderDirectory() + "sport_tests.io");
}
/**
......@@ -38,7 +38,7 @@ class IOTestsWithError extends Assignment2TestBase {
@Test
@DisplayName("athlete-tests")
void athleteTests() {
testWithIOFile(getDataFolderDirectory() + "ioc_codes_tests.io");
testWithIOFile(getDataFolderDirectory() + "athlete_tests.io");
}
/**
......
......@@ -16,4 +16,13 @@ public class PerformanceTests extends Assignment2TestBase {
enablePerformanceTest();
testUsingPairs(pairs, () -> DummyMain.main(null));
}
@Test
@DisplayName("PerformanceTest2")
void performanceTest2() {
String path = getDataFolderDirectory() + "performance_test_2.io";
TestPair[] pairs = loadTestPairsFromIOFile(path);
enablePerformanceTest();
testUsingPairs(pairs, () -> DummyMain.main(null));
}
}
This diff is collapsed.
......@@ -19,8 +19,6 @@ OK
OK
> add-olympic-sport eislauf;eisschnelllauf
Error, ...
> add-olympic-sport curling;eisschnelllauf
Error, ...
> list-olympic-sports
biathlon biathlon
bobsport bob
......
Supports Markdown
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