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