예제 #1
0
 public void ClearList()
 {
     SimpleLinkedList<int> list = new SimpleLinkedList<int>();
     list.Add(3);
     list.Add(5);
     list.Add(7);
     list.Clear();
     list.ShouldBeEmpty();
 }
예제 #2
0
 public void ShouldBeEmptyList()
 {
     SimpleLinkedList<int> list = new SimpleLinkedList<int>();
     list.ShouldBeEmpty();
 }