Esempio n. 1
0
 public void ToString_ReturnsNameWithAlphabet([ValueSource(nameof(encoders))] Base16 encoder)
 {
     Assert.AreEqual($"Base16_{encoder.Alphabet}", encoder.ToString());
 }
Esempio n. 2
0
 public void ToString_ReturnsNameWithAlphabet([ValueSource(nameof(encoders))] Base16 encoder)
 {
     Assert.That(encoder.ToString(), Is.EqualTo($"Base16_{encoder.Alphabet}"));
 }