Beispiel #1
0
 public OpCode(string name, byte value, OpCodeOperandType type, bool IsExtended)
 {
     this.Name              = name;
     this.Value             = value;
     this.OpCodeOperandType = type;
     this.IsExtended        = IsExtended;
 }
Beispiel #2
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;
        }
    }
    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);
        }
    }