Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1265

[Test Scenario] DMN Test case number tolerance

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Major
    • None
    • 7.6.0.GA
    • Decision Central, DMN
    • None

    Description

      When designing test cases, there are formulas with an infinite number of decimals.
      For instance: 3/10
      In the specific case that I am currently working: Tax and insurance payment is calculated with the expression:
      0.0125*Purchase price/12+3.50*(Purchase price/1000)/12

      with a purchase price of $160,000 the formula results in:
      266.6666666666666666666666666666666

      When describing the test case, I would like to express this amount in terms of 266.6666 or 266.6667 (rounding). Configuring the preferences of rounding, or trimming the decimals would be desired.

      In the actual behavior, after failing the test I can "apply" the received value to the result of the rule, but is quiet not readable for some of the amounts (see screenshot).

      Attachments

        Activity

          People

            yamer@redhat.com Yeser Amer
            rhn-gpte-dtorresf Diego Torres Fuerte
            Anna Dupliak Anna Dupliak
            Anna Dupliak Anna Dupliak
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: