public void GetEnumDescriptionByInt_Null_Test() { var description = EnumOperator.GetEnumDescriptionByInt(null); Assert.IsTrue(description == PackageStoredTypeEnum.UnKnown.GetDescription()); }
public void GetEnumDescriptionByInt_InEnum_Test() { var description = EnumOperator.GetEnumDescriptionByInt(1); Assert.IsTrue(description == PackageStoredTypeEnum.Normal.GetDescription()); }