public abstract bool Run(FaultModelTesterTestCase testCase);
public override bool Run(FaultModelTesterTestCase testCase) { IDictionary<string, object> input = testCase.Input; SetTestRunParameters((double)input["Initial"], (double)input["Final"]); return ((string)ExecuteSimulationRun()).ToLower().Contains("success"); }
public override bool Run(FaultModelTesterTestCase testCase) { IDictionary<string, object> input = testCase.Input; SetTestRunParameters((double)input["Desired"], (int)input["TestCaseType"]); return (bool)(((List<object>)ExecuteSimulationRun())[1]); }