public void ParseProperFractionTest3() { var parse = new ParseDecimalToFraction(); var actual = parse.CreateProperFractionFromDecimal(5.82m); var expected = "5 3/4"; Assert.AreEqual(expected, actual); }
public void PraseProperFractionTest6() { var parse = new ParseDecimalToFraction(); var actual = parse.CreateProperFractionFromDecimal(9m); var expected = "9"; Assert.AreEqual(expected, actual); }
public void ParseProperFractionTest1() { var parse = new ParseDecimalToFraction(); var actual = parse.CreateProperFractionFromDecimal(1.26m); var expected = "1 1/3"; Assert.AreEqual(expected, actual); }