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