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