public MFTestResults Fields58_testMethod() { Log.Comment("Testing strings assigned with function calls"); if (FieldsTestClass58.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool testMethod() { try { FieldsTestClass58 mc = new FieldsTestClass58(); if ((s1 == "foobar") && (s2 == "barfoo") && (mc.s3 == "foobar") && (mc.s4 == "barfoo")) { return(true); } else { return(false); } } catch { return(false); } }
public void Fields58_testMethod() { OutputHelper.WriteLine("Testing strings assigned with function calls"); Assert.True(FieldsTestClass58.testMethod()); }
public static bool testMethod() { try { FieldsTestClass58 mc = new FieldsTestClass58(); if ((s1 == "foobar") && (s2 == "barfoo") && (mc.s3 == "foobar") && (mc.s4 == "barfoo")) { return true; } else { return false; } } catch { return false; } }