/// <summary> /// Initializes a new instance of the <see cref="Base16"/> class. /// </summary> /// <param name="alphabet">Alphabet to use.</param> public Base16(Base16Alphabet alphabet) { Alphabet = alphabet; }
public void ToString_ReturnsValue() { var alpha = new Base16Alphabet("0123456789abcdef"); Assert.That(alpha.ToString(), Is.EqualTo("0123456789abcdef")); }
public void ToString_ReturnsValue() { var alpha = new Base16Alphabet("0123456789abcdef"); Assert.AreEqual("0123456789abcdef", alpha.ToString()); }