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