public void IsEmpty_ForNonEmptyStack_ReturnsFalse() { IBasicStack <int> stack = new BasicStack <int>(); for (var i = 0; i < 3; i++) { stack.Push(i); } Assert.False(stack.IsEmpty()); }
public void IsEmpty_ForEmptyStack_ReturnsTrue() { IBasicStack <int> stack = new BasicStack <int>(); Assert.True(stack.IsEmpty()); }