Esempio n. 1
0
        public void IntTest()
        {
            Integer minusOne = new Integer(-1);
            Integer zero     = new Integer(0);
            Integer one      = new Integer(1);
            Integer two      = new Integer(2);

            Assert.AreEqual(minusOne, minus.Execute(zero, one));
            Assert.AreEqual(one, minus.Execute(zero, minusOne));

            Assert.AreEqual(minusOne, minus.Execute(one, two));
        }