Axiom.Runtime.UnitTests._Builtins.char_1_char C# (CSharp) Method

char_1_char() private method

private char_1_char ( ) : void
return void
        public void char_1_char()
        {
            AbstractMachineState state = SetupMachine();
            AMProgram program = (AMProgram)state.Program;

            _p = new CharPredicate();

            AbstractTerm X0 = (AbstractTerm)state["X0"];

            X0.Assign(new ConstantTerm("a"));

            Choicepoint b = new Choicepoint();
            ProgramClause nextClause = new ProgramClause();
            state.B = new Choicepoint(0, null, null, b, nextClause, 2, null);

            Verify("char", 1);
            _p.Execute(state);

            Assert.AreNotSame(nextClause, program.P);
        }