public void ToUInt64() { var converter = ConverterFactory.Create <byte, ulong>(); Assert.Equal(ManualConverter.ByteToUInt64(0), converter(0)); Assert.Equal(ManualConverter.ByteToUInt64(1), converter(1)); Assert.Equal(ManualConverter.ByteToUInt64(Byte.MinValue), converter(Byte.MinValue)); Assert.Equal(ManualConverter.ByteToUInt64(Byte.MaxValue), converter(Byte.MaxValue)); }