예제 #1
0
        public void AddBugTest()
        {
            Project project = new Project("test", "test", "test");

            project.AddBug(new Bug("test", "test", "test", "test", "test", "test", "test", "test", "test"));

            Assert.IsTrue(project.Bugs.Count == 1);
        }
예제 #2
0
        public void ResetBugListTest()
        {
            Project project = new Project("test", "test", "test");

            project.AddBug(new Bug("test", "test", "test", "test", "test", "test", "test", "test", "test"));
            project.ResetBugList();
            Assert.IsTrue(project.Bugs.Count == 0);
        }