Esempio n. 1
0
 public void GetHashCode_ReturnsAlphabetHashCode([ValueSource(nameof(encoders))] Base16 encoder)
 {
     Assert.AreEqual(encoder.Alphabet.GetHashCode(), encoder.GetHashCode());
 }
Esempio n. 2
0
 public void GetHashCode_ReturnsAlphabetHashCode([ValueSource(nameof(encoders))] Base16 encoder)
 {
     Assert.That(encoder.GetHashCode(), Is.EqualTo(encoder.Alphabet.GetHashCode()));
 }