Axiom.Runtime.UnitTests._AMProgram.Program C# (CSharp) Method

Program() private method

private Program ( ) : void
return void
        public void Program()
        {
            ArrayList p = new ArrayList();
            HaltInstruction hi = new HaltInstruction();
            p.Add(hi);

            AMProgram program = new AMProgram();
            program.Initialize(p);

            Assert.AreSame(program.P.Instruction, program.Program.Instruction);
        }