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