[Mathlib-commitlog] SF.net SVN: mathlib:[543] JMathLib/trunk/src/jmathlibtests/core/tokens/ testUna
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2008-12-07 19:02:08
|
Revision: 543
http://mathlib.svn.sourceforge.net/mathlib/?rev=543&view=rev
Author: st_mueller
Date: 2008-12-07 19:02:02 +0000 (Sun, 07 Dec 2008)
Log Message:
-----------
testcase for (6-4)! factorial
Modified Paths:
--------------
JMathLib/trunk/src/jmathlibtests/core/tokens/testUnaryOperatorToken.java
Modified: JMathLib/trunk/src/jmathlibtests/core/tokens/testUnaryOperatorToken.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/core/tokens/testUnaryOperatorToken.java 2008-12-07 19:00:28 UTC (rev 542)
+++ JMathLib/trunk/src/jmathlibtests/core/tokens/testUnaryOperatorToken.java 2008-12-07 19:02:02 UTC (rev 543)
@@ -36,6 +36,10 @@
ml.executeExpression("a=4!");
assertTrue(24.0 == ml.getScalarValueRe("a"));
}
+ public void test001c() {
+ ml.executeExpression("a=(8-5)!");
+ assertTrue(6.0 == ml.getScalarValueRe("a"));
+ }
/************* ' transpose ************/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|