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