示例#1
0
文件: BoxTest.cs 项目: Zensar/IdeaBox
        public void AddIdea_Add_Items_Test()
        {
            Box target = new Box();

            Idea idea1 = new Idea();
            Idea idea2 = new Idea();
            Idea idea3 = new Idea();
            Idea idea4 = null;

            target.AddIdea(idea1);
            target.AddIdea(idea2);
            target.AddIdea(idea3);
            target.AddIdea(idea4);

            Assert.AreEqual(3, target.Ideas.Count);
        }