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