Esempio n. 1
0
        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));
        }
Esempio n. 2
0
        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));
        }