[Mathlib-commitlog] SF.net SVN: mathlib:[727] JMathLib/trunk/src/jmathlib/tools/junit/framework /JM
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2009-01-23 13:53:17
|
Revision: 727
http://mathlib.svn.sourceforge.net/mathlib/?rev=727&view=rev
Author: st_mueller
Date: 2009-01-23 13:53:13 +0000 (Fri, 23 Jan 2009)
Log Message:
-----------
added more tests
Modified Paths:
--------------
JMathLib/trunk/src/jmathlib/tools/junit/framework/JMathLibTestCase.java
Modified: JMathLib/trunk/src/jmathlib/tools/junit/framework/JMathLibTestCase.java
===================================================================
--- JMathLib/trunk/src/jmathlib/tools/junit/framework/JMathLibTestCase.java 2009-01-23 13:52:22 UTC (rev 726)
+++ JMathLib/trunk/src/jmathlib/tools/junit/framework/JMathLibTestCase.java 2009-01-23 13:53:13 UTC (rev 727)
@@ -41,6 +41,12 @@
}
+ public void assertEvalScalarEquals(String func, String var, boolean b)
+ {
+ ml.executeExpression(func);
+ boolean ansRe = ml.getScalarValueBoolean(var);
+ assertEquals(ansRe, b);
+ }
public void assertScalarEquals(String var, double varRe )
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|