[jboss-jira] [JBoss JIRA] (DROOLS-4611) It is impossible to use infinity values
Anna Dupliak (Jira)
issues at jboss.org
Mon Oct 7 07:33:00 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-4611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anna Dupliak updated DROOLS-4611:
---------------------------------
Steps to Reproduce:
# Create a Data Object with at lest one double field
# Create test scenario as it shown on the picture !screenshot-1.png|thumbnail!
# Run it and you will get Failed test scenario run with error "The expected value is '0' but the actual one is 'Infinityd'."
# Change the expected value to Infinityd
# The scenario fails anyway see !screenshot-2.png|thumbnail! with error "Error message: For input string: "Infinityd""
was:
# Create a Data Object with at lest one double field
# Create test scenario as it shown on the picture !image-2019-10-07-13-09-22-751.png|thumbnail!
# Run it and you will get Failed test scenario run with error "The expected value is '0' but the actual one is 'Infinityd'."
# Change the expected value to Infinityd
# The scenario fails anyway see !image-2019-10-07-13-02-55-558.png|thumbnail!
> It is impossible to use infinity values
> ---------------------------------------
>
> Key: DROOLS-4611
> URL: https://issues.jboss.org/browse/DROOLS-4611
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Reporter: Anna Dupliak
> Assignee: Daniele Zonca
> Priority: Major
> Labels: ScenarioSimulation
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> It is impossible to use infinity values.
> *workaround
> If one expect some infinity value as a result -> they could compare it with the "1/0" expression
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list