Update of /cvsroot/stack/stack-1-0/lang/en/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1133/lang/en/doc
Modified Files:
author_testsuite.php en_doc.php
Log Message:
Index: author_testsuite.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_testsuite.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** author_testsuite.php 17 Nov 2005 21:54:19 -0000 1.21
--- author_testsuite.php 19 Nov 2005 16:37:08 -0000 1.22
***************
*** 84,87 ****
--- 84,104 ----
$testsuite[] = stack_testsuite_construct('AlgEquiv','2*x>=x^2','x^2<=2*x',1,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','4^(-1/2)','1/2',1,'','Numbers');
+ $testsuite[] = stack_testsuite_construct('SameType','x','[1,2,3]',0,'','Lists');
+ $testsuite[] = stack_testsuite_construct('SameType','[1,2]','[1,2,3]',1,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','[1,x>2]','[1,2<x]',1,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','[1,x,3]','[1,2<x,4]',0,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','x','{1,2,3}',0,'','Sets');
+ $testsuite[] = stack_testsuite_construct('SameType','{1,2}','{1,2,3}',1,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','matrix([1,2],[2,3])','matrix([1,2],[2,3])',1,'','Matrices');
+ $testsuite[] = stack_testsuite_construct('SameType','[[1,2],[2,3]]','matrix([1,2],[2,3])',0,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','matrix([1,2],[2,3])','matrix([1,2,3],[2,3,3])',1,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','matrix([x>4,{1,x^2}],[[1,2],[1,3]])','matrix([4-x<0,{x^2,1}],[[1,2],[1,3]])',1,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','matrix([x>4,[1,x^2]],[[1,2],[1,3]])','matrix([4-x<0,{x^2,1}],[[1,2],[1,4]])',0,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','1','x=1',0,'','Equations');
+ $testsuite[] = stack_testsuite_construct('SameType','x=1','x=1',1,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','1','x>1',0,'','Inequalities');
+ $testsuite[] = stack_testsuite_construct('SameType','x>2','x>1',1,'','');
+ $testsuite[] = stack_testsuite_construct('SameType','x>1','x>=1',1,'','');
// AlgEquiv Answer tests.
Index: en_doc.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/en_doc.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** en_doc.php 19 Nov 2005 16:04:39 -0000 1.15
--- en_doc.php 19 Nov 2005 16:37:08 -0000 1.16
***************
*** 357,360 ****
--- 357,369 ----
the whole attempt as invalid. This is most useful inside potential response trees";
+ $stackAnswerTest['SameType']['doc']="There are six kinds of mathematical objects in STACK.
+ <ol>
+ <li>Expressions</li><li>Equations</li><li>Inequalities</li><li>Sets</li>
+ <li>Lists</li><li>Matrices</li>
+ </ol>
+ This test is based upon the AlgEquiv answer test and makes sure that the first
+ expression in the test is the same <em>type</em> as the second.
+ Note that this test works recursively over the entire expression.";
+
$stackAnswerTest['CASEqual']['doc']="This is test if the CAS returns TRUE
when asked to evaluate <tt>StudentAnswer=TeacherAnswer</tt> as a Boolean.
|