Exemplo n.º 1
0
        public void TestMethod13()
        {
            PointBiList pointBiList = new PointBiList(new Animals());
            int         number      = PointBiList.GetCount(pointBiList);

            Assert.AreEqual(number, 1);
        }
Exemplo n.º 2
0
        public void TestMethod16()
        {
            PointBiList pointBiList = null;

            pointBiList = PointBiList.AddPoint(pointBiList, 1);
            int number = PointBiList.GetCount(pointBiList);

            Assert.AreEqual(number, 1);
        }
Exemplo n.º 3
0
        public void TestMethod21()
        {
            PointBiList pointBiList = new PointBiList(new Animals());

            pointBiList = PointBiList.AddPoint(pointBiList, 1);
            pointBiList = PointBiList.AddOddObjects(pointBiList);
            int number = PointBiList.GetCount(pointBiList);

            Assert.AreEqual(number, 5);
        }
Exemplo n.º 4
0
        public void TestMethod20()
        {
            PointBiList pointBiList = new PointBiList(new Animals());

            pointBiList = PointBiList.AddPoint(pointBiList, 1);
            pointBiList = PointBiList.AddPoint(pointBiList, 1);
            pointBiList = PointBiList.AddPoint(pointBiList, 1);
            pointBiList = PointBiList.DelElement(pointBiList, 3);
            int number = PointBiList.GetCount(pointBiList);

            Assert.AreEqual(number, 3);
        }