public void DoesIsEmptyReturnTrueWhenStackIsEmpty() { ArrayTypedStack stack = new ArrayTypedStack(3); bool actual = stack.IsEmpty(); bool expected = true; Assert.AreEqual(expected, actual); }
public void DoesIsEmptyReturnFalseWhenStackIsNotEmpty() { ArrayTypedStack stack = new ArrayTypedStack(2); stack.Push(3); bool actualResult = stack.IsEmpty(); bool expectedResult = false; Assert.AreEqual(expectedResult, actualResult); }