public void GetIntWillNotParseExplicitFloatingPointLiteralCodes()
        {
            var key = "Hi there";
            var val = "1.09f";
            var pd  = new ParameterDatabase();

            Assert.AreEqual(pd.Count, 0);

            var p1 = new Parameter(key);

            pd.SetParameter(p1, val);
            var intVal = pd.GetInt(p1, null);

            Assert.AreEqual(intVal, 1);
        }
        public void GetIntWillNotParseExponentialLiteralValueOutOfRange()
        {
            var key = "Hi there";
            var val = "1.097e2";
            var pd  = new ParameterDatabase();

            Assert.AreEqual(pd.Count, 0);

            var p1 = new Parameter(key);

            pd.SetParameter(p1, val);
            var intVal = pd.GetInt(p1, null);

            Assert.AreEqual(intVal, 109);
        }
        public void GetIntWillNotParseNonIntegralLiteralValues()
        {
            var key = "Hi there";
            var val = "1.038";
            var pd  = new ParameterDatabase();

            Assert.AreEqual(pd.Count, 0);

            var p1 = new Parameter(key);

            pd.SetParameter(p1, val);
            var intVal = pd.GetInt(p1, null);

            Assert.AreEqual(intVal, 1);
        }
        public void GetIntWillParseRealNumberLiterals()
        {
            var key = "Hi there";
            var val = "1.0";
            var pd  = new ParameterDatabase();

            Assert.AreEqual(pd.Count, 0);

            var p1 = new Parameter(key);

            pd.SetParameter(p1, val);
            var intVal = pd.GetInt(p1, null);

            Assert.AreEqual(intVal, 1);
        }