public static int Main_old() { Attrib_TestClass_attrib029_9_C1 c1 = new Attrib_TestClass_attrib029_9_C1(); int anInt = c1.C1Method(5); if (anInt == 5) { retval -= 2; } Attrib_TestClass_attrib029_9_S1 s1 = new Attrib_TestClass_attrib029_9_S1(); if (10 == s1.S1Method(10)) { retval -= 4; } if (0 == retval) { OutputHelper.WriteLine("PASS"); } else { OutputHelper.WriteLine("FAIL, retval==" + retval.ToString()); } return(retval); }
public int C1Method(int value) { Attrib_TestClass_attrib029_9_S1 s1 = new Attrib_TestClass_attrib029_9_S1(-1); if (s1.S1Method(3) == 3) { Attrib_TestClass_attrib029_9.retval -= 1; } return(value); }
public static int Main_old() { Attrib_TestClass_attrib029_9_C1 c1 = new Attrib_TestClass_attrib029_9_C1(); int anInt = c1.C1Method(5); if (anInt == 5) retval -= 2; Attrib_TestClass_attrib029_9_S1 s1 = new Attrib_TestClass_attrib029_9_S1(); if (10 == s1.S1Method(10)) retval -= 4; if (0 == retval) Log.Comment("PASS"); else Log.Comment("FAIL, retval==" + retval.ToString()); return retval; }
public int C1Method(int value) { Attrib_TestClass_attrib029_9_S1 s1 = new Attrib_TestClass_attrib029_9_S1(-1); if (s1.S1Method(3) == 3) Attrib_TestClass_attrib029_9.retval -= 1; return value; }