Exemple #1
0
        public void Ex2Meth2_1()
        {
            var x    = new Exercise2();
            int size = x.Method2();

            Assert.AreEqual(size, 2);
        }
Exemple #2
0
        public void Exercise2Method2_Method2_2()
        {
            Exercise2 e2 = new Exercise2();

            Assert.Equal(2, e2.Method2());
        }
Exemple #3
0
        public void Ex2Test1()
        {
            Exercise2 ex2 = new Exercise2();

            Assert.AreEqual(ex2.Method2(), 2);
        }