public void ParseLiteral_IntLiteral() { // arrange var type = new DecimalType(); var literal = new IntValueNode(123); // act var value = type.ParseLiteral(literal); // assert Assert.IsType <decimal>(value); Assert.Equal(literal.ToDecimal(), value); }