示例#1
0
        public void multBasedBusinessLogicTestDefault()
        {
            int x    = 2;
            int y    = 5;
            int prod = 10;

            int res = new Math.Mult().multBasedBusinessLogic(x, y);

            Assert.AreEqual(prod, res);
        }
示例#2
0
        public void multTestlong2()
        {
            long x    = 2;
            long y    = 0;
            long prod = 0;

            long res = new Math.Mult().mult(x, y);

            Assert.AreEqual(prod, res);
        }
示例#3
0
        public void multBasedBusinessLogicTest1()
        {
            int x    = 2;
            int y    = 1; // assume this has to be dynamically computed.
            int prod = 2;

            int res = new Math.Mult().multBasedBusinessLogic(x, y);

            Assert.AreEqual(prod, res);
        }
示例#4
0
        public void multTestint2()
        {
            int x    = 2;
            int y    = 0;
            int prod = 0;

            int res = new Math.Mult().mult(x, y);

            Assert.AreEqual(prod, res);
        }