Esempio n. 1
0
        public void Exercise3Method1Test2()
        {
            Exercise3 e3  = new Exercise3();
            MyMap     map = (MyMap)e3.Method1();

            Assert.AreEqual(map.GetMapSize(5.2f), 5.2f * 5.2f);
        }
Esempio n. 2
0
        public void Excercise3Method1_MapSize_1()
        {
            Exercise3 e3    = new Exercise3();
            MyMap     mymap = (MyMap)e3.Method1();

            Assert.Equal(1, mymap.GetMapSize(1));
        }
Esempio n. 3
0
        public void Ex3Test2()
        {
            Exercise3 ex3   = new Exercise3();
            MyMap     myMap = (MyMap)ex3.Method1();

            Assert.AreEqual(myMap.GetMapSize(1), 1);
        }