public void StackConstantAlreadyDefined() { Stack test1 = new Stack(); test1.MyAdd('a', 9); test1.MyAdd('A', 2); int value; bool expected = test1.constants.TryGetValue('a', out value); Assert.AreEqual(2, value); }
public void StackConstantsAreCaseInsensitive() { Stack test1 = new Stack(); test1.MyAdd('A', 2); int value; bool expected = test1.constants.TryGetValue('a', out value); Assert.AreEqual(2, value); }