public void QuadParseArgumentsTestMethodFailed() { Quad.Program q = new Quad.Program(); double a, b, c; string[] stringArr = { "2", "3", "a" }; Assert.AreEqual(false, q.checkParse(stringArr, out a, out b, out c)); }
public void QuadParseArgumentsTestMethodSuccess() { double a, b, c; Quad.Program q = new Quad.Program(); string[] stringArr = { "2", "3", "2" }; Assert.AreEqual(true, q.checkParse(stringArr, out a, out b, out c)); }