Axiom.Runtime.UnitTests._AMInstructionSet.CreateInstruction C# (CSharp) Метод

CreateInstruction() приватный Метод

private CreateInstruction ( ) : void
Результат void
        public void CreateInstruction()
        {
            AMInstructionSet am = new AMInstructionSet();

            foreach (string s in instructions)
            {
                AbstractInstruction i = null;

                if (s == "set_void" || s == "unify_void")
                {
                    i = am.CreateInstruction(s, "1");
                    Assert.AreEqual(s, i.Name());

                }
                else
                {
                    i = am.CreateInstruction(s, "f/1", "1", "X2", "X3");
                    Assert.AreEqual(s, i.Name());
                }

            }
        }