public void ConstantTestIfCanAddToDictionaryIfConstantAlreadyExists()
        {
            Constant constant = new Constant();
            constant.AddToConstants('x', 5);
            constant.AddToConstants('x', 10);

            Assert.AreEqual(5, constant.Constants['x']);
        }
        public void ConstantTestIfCanGetValueOfConstant()
        {
            Constant constant = new Constant();
            constant.AddToConstants('x', 5);

            Assert.AreEqual(5, constant.GetValueOf('x'));
        }
        public void ConstantTestAddToListMethod()
        {
            Constant constant = new Constant();
            char expectedConst = 'x';
            int expectedNum = 5;
            constant.AddToConstants(expectedConst, expectedNum);

            Assert.AreEqual(expectedNum, constant.Constants[expectedConst]);
        }
        public void ConstantTestIfReturnsValueOfConstant()
        {
            Constant constant = new Constant();
            constant.AddToConstants('x', 12);
            constant.ChangeExpression("x");

            Assert.AreEqual(12, constant.GetExpression());
        }
        public void ConstantTestIsInList()
        {
            Constant constant = new Constant();
            constant.AddToConstants('x', 12);

            Assert.AreEqual(true, constant.IsInList('x'));
            Assert.AreEqual(false, constant.IsInList('y'));
        }