Example #1
0
        public void AZEro()
        {
            int a        = 0;
            int expected = 0;

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

            Assert.AreEqual(expected, result);
        }
Example #2
0
        public void RightAns()
        {
            int a        = 3;
            int expected = 2;

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

            Assert.AreEqual(expected, result);
        }