예제 #1
0
        private void CheckParse(String str, Boolean success, Constant expected, String message)
        {
            Literal literal = OperandTest.CheckParse(Literal.Parse, str, success, message);

            if (success)
            {
                Constant actual = literal.Constant;
                ConstantTest.Check(expected, actual, message);
            }
        }
예제 #2
0
 internal static void Check(Literal expected, Literal actual, String message)
 {
     ConstantTest.Check(expected.Constant, actual.Constant, message);
 }