public void ToInt32() { var converter = ConverterFactory.Create <short, int>(); Assert.Equal(ManualConverter.Int16ToInt32(0), converter(0)); Assert.Equal(ManualConverter.Int16ToInt32(1), converter(1)); Assert.Equal(ManualConverter.Int16ToInt32(-1), converter(-1)); Assert.Equal(ManualConverter.Int16ToInt32(Int16.MinValue), converter(Int16.MinValue)); Assert.Equal(ManualConverter.Int16ToInt32(Int16.MaxValue), converter(Int16.MaxValue)); }