示例#1
0
 public void CanAdd_DuplicateBook_ReturnFalse()
 {
     var set = new BookSet();
     set.Add(1);
     Assert.IsFalse(set.CanAdd(1));
 }
示例#2
0
 public void CanAdd_BookNotInSet_ReturnTrue()
 {
     var set = new BookSet();
     Assert.IsTrue(set.CanAdd(1));
 }