コード例 #1
0
        public void Expression_SimpleMaths_ExpectedParsing()
        {
            var expression = new ExpressionComparable("!=4+4");

            expression.Parse();

            Assert.That(expression.Expression, Is.EqualTo("4+4"));
        }
コード例 #2
0
        public void GetComparer_NotEqualSymbol_NotEqualFunction()
        {
            var expression = new ExpressionComparable("!=4+4");

            expression.Parse();

            Assert.That(expression.Comparer.Compare == expression.Comparer.NotEqual);
        }