public static bool testMethod() { MethodsTestClass_Sub68 tc2 = new MethodsTestClass_Sub68(2); MethodsTestClass68 test = new MethodsTestClass68(); test.TestMeth(tc2); if ((tc2.testint == 2) && (test.tc.testint == 3)) { return true; } else { return false; } }
public void TestMeth(MethodsTestClass_Sub68 t) { t = new MethodsTestClass_Sub68(3); tc = t; }