public static int Main_old() { Attrib_TestClass_attrib029_8_C1 c1 = new Attrib_TestClass_attrib029_8_C1(); c1.i = 5; int anInt = c1.i; if (anInt == 5) { retval -= 2; } Attrib_TestClass_attrib029_8_S1 s1 = new Attrib_TestClass_attrib029_8_S1(); s1.j = 10; if (10 == s1.j) { retval -= 4; } if (0 == retval) { OutputHelper.WriteLine("PASS"); } else { OutputHelper.WriteLine("FAIL, retval==" + retval.ToString()); } return(retval); }
public static int Main_old() { Attrib_TestClass_attrib029_8_C1 c1 = new Attrib_TestClass_attrib029_8_C1(); c1.i = 5; int anInt = c1.i; if (anInt == 5) retval -= 2; Attrib_TestClass_attrib029_8_S1 s1 = new Attrib_TestClass_attrib029_8_S1(); s1.j = 10; if (10 == s1.j) retval -= 4; if (0 == retval) Log.Comment("PASS"); else Log.Comment("FAIL, retval==" + retval.ToString()); return retval; }