public void EqualsTest(UTF32Encoding encoding, object value, bool expected)
 {
     Assert.Equal(expected, encoding.Equals(value));
     Assert.Equal(expected, encoding.GetHashCode().Equals(value?.GetHashCode()));
 }
 public void Equals(UTF32Encoding encoding, object value, bool expected)
 {
     Assert.Equal(expected, encoding.Equals(value));
     Assert.Equal(expected, encoding.GetHashCode().Equals(value?.GetHashCode()));
 }