Пример #1
0
        public void Plants_NoPlants_ReturnsEmptyList()
        {
            Gramene g = new Gramene();

            CollectionAssert.AreEqual(new List <int>()
            {
            }, g.Plants());
        }
Пример #2
0
        public void Plants_PlantsExist_ReturnsTheirList()
        {
            Gramene g = new Gramene();

            int firstPlant  = g.TestAddPlant();
            int secondPlant = g.TestAddPlant();

            CollectionAssert.AreEqual(new List <int>()
            {
                firstPlant, secondPlant
            }, g.Plants());
        }