diff --git a/CURRENT/c-sharp/tests-and-release/4-Unit-Tests/ExpressionTest.cs b/CURRENT/c-sharp/tests-and-release/4-Unit-Tests/ExpressionTest.cs
index 1687b00f..f5ad7c5d 100644
--- a/CURRENT/c-sharp/tests-and-release/4-Unit-Tests/ExpressionTest.cs
+++ b/CURRENT/c-sharp/tests-and-release/4-Unit-Tests/ExpressionTest.cs
@@ -1,5 +1,5 @@
/*
- * @(#)ExpressionTest.cs 5.0.5 2022-05-29
+ * @(#)ExpressionTest.cs 5.0.6 2022-05-30
*
* MathParser.org-mXparser DUAL LICENSE AGREEMENT as of date 2022-05-22
* The most up-to-date license is available at the below link:
@@ -199,7 +199,7 @@ namespace org.mariuszgromada.math.mxparser.test {
* Scalar Pro
* MathSpace.pl
*
- * @version 5.0.5
+ * @version 5.0.6
*
*/
[TestClass]
@@ -22320,6 +22320,19 @@ public void TestExpr1359() {
TestCommonTools.consolePrintTestExprEnd(value, reg, testResult, testExp);
Assert.IsTrue(testResult);
}
+ [TestMethod]
+ public void TestExpr1360() {
+ TestCommonTools.testExprSettingsInit();
+ bool testResult = false;
+ String expStr = "Bell(999999*9999999)";
+ TestCommonTools.consolePrintTestExprStart(1360, expStr);
+ Expression testExp = new Expression(expStr);
+ double value = testExp.calculate();
+ double reg = Double.NaN;
+ if (Double.IsNaN(value))
+ testResult = true;
+ TestCommonTools.consolePrintTestExprEnd(value, reg, testResult, testExp);
+ Assert.IsTrue(testResult);
+ }
}
-
}
\ No newline at end of file
diff --git a/CURRENT/java/test/org/mariuszgromada/math/mxparser/test/ExpressionTest.java b/CURRENT/java/test/org/mariuszgromada/math/mxparser/test/ExpressionTest.java
index a683801c..428e1f73 100644
--- a/CURRENT/java/test/org/mariuszgromada/math/mxparser/test/ExpressionTest.java
+++ b/CURRENT/java/test/org/mariuszgromada/math/mxparser/test/ExpressionTest.java
@@ -1,5 +1,5 @@
/*
- * @(#)ExpressionTest.java 5.0.5 2022-05-29
+ * @(#)ExpressionTest.java 5.0.6 2022-05-30
*
* MathParser.org-mXparser DUAL LICENSE AGREEMENT as of date 2022-05-22
* The most up-to-date license is available at the below link:
@@ -204,7 +204,7 @@
* Scalar Pro
* MathSpace.pl
*
- * @version 5.0.5
+ * @version 5.0.6
*
*/
public final class ExpressionTest {
@@ -22299,4 +22299,18 @@ public void testExpr1359() {
TestCommonTools.consolePrintTestExprEnd(value, reg, testResult, testExp);
Assertions.assertTrue(testResult);
}
+ @Test
+ public void testExpr1360() {
+ TestCommonTools.testExprSettingsInit();
+ boolean testResult = false;
+ String expStr = "Bell(999999*9999999)";
+ TestCommonTools.consolePrintTestExprStart(1360, expStr);
+ Expression testExp = new Expression(expStr);
+ double value = testExp.calculate();
+ double reg = Double.NaN;
+ if (Double.isNaN(value))
+ testResult = true;
+ TestCommonTools.consolePrintTestExprEnd(value, reg, testResult, testExp);
+ Assertions.assertTrue(testResult);
+ }
}
\ No newline at end of file