Example #1
0
        public void AssortmentTest()
        {
            Assert.True(assortment.getAssortment().Count == 0);
            assortment.addOutfit(wonderWoman);
            Assert.True(assortment.getAssortment().Count == 1);
            Assert.True(assortment.removeOutfit(wonderWoman) == 1);
            Assert.True(assortment.removeOutfit(wonderWoman) == 0);

            arrayList.Clear();
            arrayList.Add(outfit1);
            arrayList.Add(outfit2);
            assortment.fillAssortment(arrayList);
            Assert.True(assortment.getAssortment().Count == 2);
        }