public void Const56_Test() { //Ported from const56.cs OutputHelper.WriteLine("Section 10.3"); OutputHelper.WriteLine("...the only possible value for constants of reference-types other than "); OutputHelper.WriteLine("string is null"); Assert.True(ConstTestClass56.test()); }
public static bool test() { bool retval = false; ConstTestClass56 mmc = new ConstTestClass56(); if (mmc.mc.GetI() == 10) { retval = true; } return(retval); }
public MFTestResults Const56_Test() { //Ported from const56.cs Log.Comment("Section 10.3"); Log.Comment("...the only possible value for constants of reference-types other than "); Log.Comment("string is null"); if (ConstTestClass56.test()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool test() { bool retval = false; ConstTestClass56 mmc = new ConstTestClass56(); if (mmc.mc.GetI() == 10) retval = true; return retval; }