public void ToDouble() { var converter = ConverterFactory.Create <char, double>(); Assert.Equal(ManualConverter.CharToDouble((char)0), converter((char)0)); Assert.Equal(ManualConverter.CharToDouble((char)1), converter((char)1)); Assert.Equal(ManualConverter.CharToDouble(Char.MinValue), converter(Char.MinValue)); Assert.Equal(ManualConverter.CharToDouble(Char.MaxValue), converter(Char.MaxValue)); }