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

added performance test

parent 364f8c53
package final_assignment.task_2.tests;
import final_assignment.task_2.Assignment2TestBase;
import final_assignment.task_2.DummyMain;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import test.TestPair;
public class PerformanceTests extends Assignment2TestBase {
@Test
@DisplayName("PerformanceTest1")
void performanceTest1() {
String path = getDataFolderDirectory() + "performance_test_1.io";
TestPair[] pairs = loadTestPairsFromIOFile(path);
enablePerformanceTest();
testUsingPairs(pairs, () -> DummyMain.main(null));
}
}
This diff is collapsed.
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