public OpCode(string name, byte value, OpCodeOperandType type, bool IsExtended) { this.Name = name; this.Value = value; this.OpCodeOperandType = type; this.IsExtended = IsExtended; }
public static int Main() { OpCodeOperandType test = new OpCodeOperandType(); TestLibrary.TestFramework.BeginTestCase("OpCodeOperandType"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }
public static int Main() { OpCodeOperandType test = new OpCodeOperandType(); TestLibrary.TestFramework.BeginTestCase("OpCodeOperandType"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }