コード例 #1
0
        public void CheckParser10()
        {
            string          test1    = "aero/qbar-area NE -.12345678901234567890e+19";
            PropertyManager propMngr = new PropertyManager();
            ClassWithPropertiesForConditions class1 = new ClassWithPropertiesForConditions("", propMngr);

            Condition cond = new Condition(test1, propMngr);

            Assert.AreEqual("qbar-area NE -1.23456789012346E+18", cond.ToStringCondition(""));
        }
コード例 #2
0
        public void CheckParser6()
        {
            string          test1    = "aero/qbar-area == -.1e-19";
            PropertyManager propMngr = new PropertyManager();
            ClassWithPropertiesForConditions class1 = new ClassWithPropertiesForConditions("", propMngr);

            Condition cond = new Condition(test1, propMngr);

            Assert.AreEqual("qbar-area == -1E-20", cond.ToStringCondition(""));
        }