コード例 #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);
        }