public void StackWithLinkedList_IsFull_should_return_false_when_stack_has_less_elements() { StackWithLinkedList <int> st2 = new StackWithLinkedList <int>(2); st2.Push(1); Assert.AreEqual(false, st2.IsFull()); }
public void StackWithLinkedList_IsFull_should_return_true_when_stack_has_capacity_number_of_elements() { StackWithLinkedList <int> st2 = new StackWithLinkedList <int>(2); st2.Push(1); st2.Push(3); Assert.AreEqual(true, st2.IsFull()); }
public void StackWithLinkedList_IsFull_should_return_false_when_stack_is_empty() { Assert.AreEqual(false, st.IsFull()); }