예제 #1
0
        public void RightAns()
        {
            int a        = 3;
            int expected = 2;

            wh  c      = new wh();
            int result = c.While12(a);

            Assert.AreEqual(expected, result);
        }
예제 #2
0
        public void AMinZEro()
        {
            int a        = -2;
            int expected = 0;

            wh  c      = new wh();
            int result = c.While12(a);

            Assert.AreEqual(expected, result);
        }