public MFTestResults Constructors52_Test() { Log.Comment("Testing a constructor with a '(params int[] values)' prototype, called with 3 ints"); //Ported from Const52.cs if (ConstructorsTestClass52.testMethod()) { return(MFTestResults.Pass); } return(MFTestResults.Fail); }
public static bool testMethod() { int intI = 1; int intJ = 2; int intK = 3; ConstructorsTestClass52 mc = new ConstructorsTestClass52(intI, intJ, intK); if (mc.intTest == 6) { return(true); } else { return(false); } }
public void Constructors52_Test() { OutputHelper.WriteLine("Testing a constructor with a '(params int[] values)' prototype, called with 3 ints"); //Ported from Const52.cs Assert.True(ConstructorsTestClass52.testMethod()); }
public static bool testMethod() { int intI = 1; int intJ = 2; int intK = 3; ConstructorsTestClass52 mc = new ConstructorsTestClass52(intI, intJ, intK); if (mc.intTest == 6) { return true; } else { return false; } }