1 2 3 4 5 6 7 8 9 10 11 12 13 14
package samenames; import org.aspectj.testing.Tester; public class Main { static Main samenames = new Main(); public static void main(String[] args) { samenames.realMain(args); } void realMain(String[] args) { Tester.checkEqual(1, Other.returns1()); Tester.checkEqual(2, new Other().returns2()); } }