TestFunctionSeparatorHidenByBrackets fails
A java infix evaluator based on "Shunting Yard" algorithm.
Brought to you by:
fathzer
Hello Jean-Marc,
when I tried to build the project, the test TestFunctionSeparatorHidenByBrackets
failed, as it didn't throw an IllegalArgumentException
while calling the DoubleEvaluator
with min((10,15),20)
.
Instead, the paranthesis around 10,15
are simply ignored and the evaluation returns 10
, which at first glance seems acceptable. I'm not sure about the test's intentions, but at least the function separator between 10
and 15
is not hidden by the paranthesis (then again paranthesis are not brackets).
I'm not sure if this counts as a bug, but at least it seems like a bug in the build.
Cheers,
Christian
Anonymous
Hello Christian,
You're right, this is a known bug. The test is there to prevent me from forgetting it!
I'm sorry, I currently have no release date for the fix :-(
Best regards,
Jean-Marc Astesana
Good to know this project is alive, at least the author reponds :)
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Hi,
No known bug will survive year 2017 ;-)
I released version 3.0.2 that solves the problem.
Best regards
Jean-Marc Astesana
PS : Sorry for the delay, it's a shame ...