public override void Process(object[] arguments) { _arguments = arguments; _builtinName = (string)arguments[0]; }
public void BCall() { AbstractMachineState state = SetupMachine(); BCallInstruction i = new BCallInstruction(); i.Process(new string[] { "write/1" }); Assert.AreEqual("bcall", i.Name()); Assert.AreEqual(1, i.NumberOfArguments()); }