Upload files to "java/base"

This commit is contained in:
2026-04-13 10:38:59 +03:00
parent b7460dd507
commit 5b9012d3b9
5 changed files with 756 additions and 0 deletions

21
java/base/Tester.java Normal file
View File

@@ -0,0 +1,21 @@
package base;
/**
* @author Georgiy Korneev (kgeorgiy@kgeorgiy.info)
*/
public abstract class Tester extends BaseChecker {
protected Tester(final TestCounter counter) {
super(counter);
}
public abstract void test();
public void run(final Class<?> test, final String... args) {
System.out.println(
"=== Testing " + test.getSimpleName() + " " + String.join(" ", args)
);
test();
counter.printStatus();
}
}