Esempio n. 1
0
        public void AddCategoryTest()
        {
            DataModel dataModel = new DataModel();
            int       count     = dataModel.CategoriesList.Count;

            dataModel.AddCategory("手卷");
            Assert.AreEqual(dataModel.CategoriesList.Count, count + 1);
        }