public void GetMaxCharCount(int byteCount) { Assert.Equal(byteCount, Encoding.GetEncoding("latin1").GetMaxCharCount(byteCount)); } }