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