예제 #1
0
 public void AbleToCreateInitList()
 {
     Cs.List <int> initList = new Cs.List <int>();
     initList.Should().NotBeNull("expected to create the instance successfully");
     Cs.List <Employee> empList = new Cs.List <Employee>();
     initList.Should().NotBeNull("expected to create the List<Employee> instance successfully");
 }
예제 #2
0
 public void Should_be_able_to_add_items_to_list()
 {
     Cs.List <int> intList = new Cs.List <int>();
     intList.Add(5);
     intList.Add(3);
     intList.Should().NotBeNull("expected to create the instance successfully");
 }
예제 #3
0
 public void Should_be_able_to_return_the_count()
 {
     Cs.List <int> intList = new Cs.List <int>();
     intList.Add(5);
     intList.Add(3);
 }