public void ConvertITo1Test() { var p = NumeralParser.TryParse("I", out var v); Assert.IsTrue(p); Assert.AreEqual(1u, v); }
public void ConvertMDCLXVITo1666Test() { var p = NumeralParser.TryParse("MDCLXVI", out var v); Assert.IsTrue(p); Assert.AreEqual(1666u, v); }
public void ConvertCDXLIVTo444Test() { var p = NumeralParser.TryParse("CDXLIV", out var v); Assert.IsTrue(p); Assert.AreEqual(444u, v); }
public void ConvertMMXIXTo2019Test() { var p = NumeralParser.TryParse("MMXIX", out var v); Assert.IsTrue(p); Assert.AreEqual(2019u, v); }