public void DecodeValue() { var result = EnumUtil.Decode(XTest.A, 0, (XTest.A, 1)); Assert.IsTrue(result == 1); result = EnumUtil.Decode(XTest.B, 0, (XTest.B, 1)); Assert.IsTrue(result == 1); result = EnumUtil.Decode(XTest.C, 0, new[] { (XTest.A, 1),