[Mathlib-commitlog] SF.net SVN: mathlib:[726] JMathLib/trunk/src/jmathlibtests/toolbox/jmathlib /sy
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2009-01-23 13:52:26
|
Revision: 726
http://mathlib.svn.sourceforge.net/mathlib/?rev=726&view=rev
Author: st_mueller
Date: 2009-01-23 13:52:22 +0000 (Fri, 23 Jan 2009)
Log Message:
-----------
added more tests
Added Paths:
-----------
JMathLib/trunk/src/jmathlibtests/toolbox/jmathlib/system/testGetDebug.java
JMathLib/trunk/src/jmathlibtests/toolbox/jmathlib/system/testSetDebug.java
Added: JMathLib/trunk/src/jmathlibtests/toolbox/jmathlib/system/testGetDebug.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/jmathlib/system/testGetDebug.java (rev 0)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/jmathlib/system/testGetDebug.java 2009-01-23 13:52:22 UTC (rev 726)
@@ -0,0 +1,29 @@
+package jmathlibtests.toolbox.jmathlib.system;
+
+import jmathlib.tools.junit.framework.*;
+
+public class testGetDebug extends JMathLibTestCase {
+
+ public testGetDebug(String name) {
+ super(name);
+ }
+ public static void main (String[] args) {
+ jmathlib.tools.junit.textui.TestRunner.run (suite());
+ }
+
+ public static Test suite() {
+ return new TestSuite(testGetDebug.class);
+ }
+
+ public void testGetDebug01() {
+ assertEvalScalarEquals("setdebug(1); a=getdebug()","a", true);
+ }
+
+ public void testGetDebug02() {
+ assertEvalScalarEquals("setdebug(0); a=getdebug()","a", false);
+ }
+
+
+
+
+}
Added: JMathLib/trunk/src/jmathlibtests/toolbox/jmathlib/system/testSetDebug.java
===================================================================
--- JMathLib/trunk/src/jmathlibtests/toolbox/jmathlib/system/testSetDebug.java (rev 0)
+++ JMathLib/trunk/src/jmathlibtests/toolbox/jmathlib/system/testSetDebug.java 2009-01-23 13:52:22 UTC (rev 726)
@@ -0,0 +1,29 @@
+package jmathlibtests.toolbox.jmathlib.system;
+
+import jmathlib.tools.junit.framework.*;
+
+public class testSetDebug extends JMathLibTestCase {
+
+ public testSetDebug(String name) {
+ super(name);
+ }
+ public static void main (String[] args) {
+ jmathlib.tools.junit.textui.TestRunner.run (suite());
+ }
+
+ public static Test suite() {
+ return new TestSuite(testSetDebug.class);
+ }
+
+ public void testSetDebug01() {
+ assertEvalScalarEquals("setdebug(1); a=getdebug()","a", true);
+ }
+
+ public void testSetDebug02() {
+ assertEvalScalarEquals("setdebug(0); a=getdebug()","a", false);
+ }
+
+
+
+
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|