[Mathlib-commitlog] SF.net SVN: mathlib:[641] JMathLib/trunk/src/jmathlib/toolbox/general/bitor .ja
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2009-01-06 16:42:45
|
Revision: 641
http://mathlib.svn.sourceforge.net/mathlib/?rev=641&view=rev
Author: st_mueller
Date: 2009-01-06 16:42:44 +0000 (Tue, 06 Jan 2009)
Log Message:
-----------
added automated tests
Modified Paths:
--------------
JMathLib/trunk/src/jmathlib/toolbox/general/bitor.java
Modified: JMathLib/trunk/src/jmathlib/toolbox/general/bitor.java
===================================================================
--- JMathLib/trunk/src/jmathlib/toolbox/general/bitor.java 2009-01-06 16:42:24 UTC (rev 640)
+++ JMathLib/trunk/src/jmathlib/toolbox/general/bitor.java 2009-01-06 16:42:44 UTC (rev 641)
@@ -53,3 +53,14 @@
@SEE
bitand, bitshift, bitxor
*/
+
+/*
+%!@testcase
+%! ml.executeExpression("a=abs(1);");
+%! assertTrue(1 == ml.getScalarValueRe("a"));
+%!
+%!@testcase
+%! ml.executeExpression("a=abs(-3);");
+%! assertTrue(3 == ml.getScalarValueRe("a"));
+%!
+ */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|