Example #1
0
        private bool TestAdd()
        {
            logic log = new logic();

            if (log.Add(5, 5) == 10)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #2
0
        private bool TestMulti()
        {
            logic log = new logic();

            if (log.Multi(5, 5) == 25)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }