public void TestDecimal() { input.AppendDigit(5); AssertValue("5", 5.0M, false); input.AppendDecimalPoint(); AssertValue("5.", 5.0M, true); input.AppendDigit(5); AssertValue("5.5", 5.5M, true); input.AppendDigit(5); AssertValue("5.55", 5.55M, true); input.AppendDigit(5); AssertValue("5.555", 5.555M, true); }