Пример #1
0
        public void NaturalNumber_minus3false_Return_3()
        {
            // arrange
            int  number = -3;
            bool flag   = false;

            // assert
            Assert.AreEqual(3, DifferentTasks.NaturalNumber(ref number, ref flag));
        }
Пример #2
0
        public void NaturalNumber_3true_Return_3()
        {
            // arrange
            int  number = 3;
            bool flag   = true;

            //assert
            Assert.AreEqual(3, DifferentTasks.NaturalNumber(ref number, ref flag));
        }
Пример #3
0
        public void NaturalNumber_0false_Return_0()
        {
            // arrange
            int  number = 0;
            bool flag   = false;

            //assert
            Assert.AreEqual(0, DifferentTasks.NaturalNumber(ref number, ref flag));
        }