public void libraryTest2Size()
 {
     Library l;
     l = new Library();
     if (l.Size() != 0)
     {
         Assert.Fail();
     }
     l.Add(new Person("1", "2", "3", "4"));
     if (l.Size() != 1)
     {
         Assert.Fail();
     }
 }
 public void libraryTest2Delete()
 {
     Library l;
     l = new Library();
     l.Add(new Person("1", "2", "3", "4"));
     l.Add(new Person("2", "2", "3", "4"));
     l.Add(new Person("3", "2", "3", "4"));
     l.Add(new Person("4", "2", "3", "4"));
     l.Delete("4");
     if (l.Size() != 3)
     {
         Assert.Fail();
     }
 }
 public void libraryTest2ParametrConstructor()
 {
     Library l;
     List<Person> lst = new List<Person>();
     lst.Add(new Person("1", "2", "3", "4"));
     lst.Add(new Person("11", "22", "33", "44"));
     l = new Library(lst);
     if (l.Size() != 2)
     {
         Assert.Fail();
     }
 }
 public void libraryTest2BracketSet()
 {
     Library l;
     List<Person> lst = new List<Person>();
     lst.Add(new Person("1", "2", "3", "4"));
     lst.Add(new Person("11", "22", "33", "44"));
     l = new Library();
     l.Bracket = lst;
     if (l.Size() != 2)
     {
         Assert.Fail(l.Size().ToString());
     }
 }