public void IsNumeric() { Assert.IsTrue(EncodingConverter.IsNumeric(typeof(short))); Assert.IsTrue(EncodingConverter.IsNumeric(typeof(int))); Assert.IsTrue(EncodingConverter.IsNumeric(typeof(long))); Assert.IsTrue(EncodingConverter.IsNumeric(typeof(ushort))); Assert.IsTrue(EncodingConverter.IsNumeric(typeof(uint))); Assert.IsTrue(EncodingConverter.IsNumeric(typeof(ulong))); Assert.IsFalse(EncodingConverter.IsNumeric(typeof(byte))); Assert.IsFalse(EncodingConverter.IsNumeric(typeof(float))); Assert.IsFalse(EncodingConverter.IsNumeric(typeof(double))); }