Exemple #1
0
        public void TestSize()
        {
            //Arrange
            int sizeBefore = arrayOfItemsV1.Size();

            arrayOfItemsV1.CreateANewTodoItem("Damma", false, null);
            arrayOfItemsV1.CreateANewTodoItem("Diska", false, null);
            arrayOfItemsV1.CreateANewTodoItem("Laga mat", false, null);
            int sizeAfter = arrayOfItemsV1.Size();

            //Act

            //Asset
            Assert.True(sizeAfter >= sizeBefore + 3);
        }