public void TestIsEmptyFalse() { LinkedList <Employee> linkedList = new LinkedList <Employee>(); Employee emp1 = new Employee(1); Employee emp2 = new Employee(2); linkedList.Add(emp1); linkedList.Add(emp2); Assert.That(linkedList.IsEmpty(), Is.False); }
public void TestIsEmptyTrue() { LinkedList <Employee> linkedList = new LinkedList <Employee>(); Assert.That(linkedList.IsEmpty(), Is.True); }