public virtual void ConvertTest() { NUnit.Framework.Assert.AreEqual("mdclxvi", RomanNumbering.Convert(1666)); NUnit.Framework.Assert.AreEqual("mcmlxxxiii", RomanNumbering.Convert(1983)); NUnit.Framework.Assert.AreEqual("mmm", RomanNumbering.Convert(3000)); NUnit.Framework.Assert.AreEqual("|vi|", RomanNumbering.Convert(6000)); NUnit.Framework.Assert.AreEqual("|vi|dccxxxiii", RomanNumbering.Convert(6733)); }
public virtual void ZeroConvertTest() { NUnit.Framework.Assert.AreEqual("", RomanNumbering.Convert(0)); }
public virtual void NegativeConvertTest() { NUnit.Framework.Assert.AreEqual("-vi", RomanNumbering.Convert(-6)); }