Example #1
0
 public void CheckCodes()
 {
     foreach (var code in Enum.GetValues(typeof(VariantCode)).Cast <VariantCode>())
     {
         var variant = Variant.ByCode(code);
         Assert.AreEqual(code, variant.EnumCode);
     }
 }