Beispiel #1
0
 public void ParseJump()
 {
     foreach (var val in Cinstruction_Accessor._jumpCodes)
     {
         string contents = Cinstruction_Accessor.ParseJump(val.Key);
         Assert.AreEqual(val.Value, contents);
     }
 }
Beispiel #2
0
 public void ParseJumpInvalidShortVal()
 {
     try
     {
         Cinstruction_Accessor.ParseJump("ab");
         Assert.Fail();
     }
     catch (System.FormatException fe)
     {
     }
 }