示例#1
0
 public void Test_AsmSourceTools_OperandType()
 {
     foreach (Ot1 x1 in Enum.GetValues(typeof(Ot1)))
     {
         foreach (Ot1 x2 in Enum.GetValues(typeof(Ot1)))
         {
             (Ot1, Ot1)t = AsmSourceTools.SplitOt(AsmSourceTools.MergeOt(x1, x2));
             Assert.AreEqual(t.Item1, x1, string.Empty);
             Assert.AreEqual(t.Item2, x2, string.Empty);
         }
     }
 }