Update of /cvsroot/stack/stack-1-0/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31035/scripts
Modified Files:
stackUtility.php
Log Message:
Added "equation" and "inequality" input types to the AlgEquiv Answer test.
Index: stackUtility.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/scripts/stackUtility.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** stackUtility.php 29 Aug 2005 15:35:23 -0000 1.32
--- stackUtility.php 1 Sep 2005 08:13:57 -0000 1.33
***************
*** 476,479 ****
--- 476,485 ----
}
+ if (strstr($strin,'=>') or strstr($strin,'=<')
+ or strstr($strin,'> =') or strstr($strin,'< =')
+ or strstr($strin,'= >') or strstr($strin,'= <')) {
+ $ret .= '<br />'.get_string('BadIneqs','stack','');
+ }
+
// (4.2) Check for |'s (there should be none!)
if (strstr($strin,'|')) {
|