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