Exemple #1
0
        public void CreateWithTwoOperands(byte opcode, int operand1, int operand2)
        {
            var actual = Bytecode.Create(opcode, new List <int> {
                operand1, operand2
            });

            Utilities.Assert.AreDeeplyEqual(actual, Fixtures.Bytecode.Opcodes[opcode]);
        }