예제 #1
0
        public void Test_3_IsSimple()
        {
            // arrange
            int n = 3;

            // act
            Lesson1App1 lesson1 = new Lesson1App1();
            bool        actual  = lesson1.IsSimple(n);

            // assert
            Assert.True(actual, "Why 3 is not simple?");
        }
예제 #2
0
        public void Test_9_IsNotSimple()
        {
            // arrange
            int n = 9;

            // act
            Lesson1App1 lesson1 = new Lesson1App1();
            bool        actual  = lesson1.IsSimple(n);

            // assert
            Assert.False(actual, "Why 9 is simple?");
        }