Update of /cvsroot/stack/stack-1-0/lang/en/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32232/lang/en/doc
Modified Files:
Tag: development_xmlrqp
author_testsuite.php
Log Message:
Important changes to the way STACK connects to the CAS.
Index: author_testsuite.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/lang/en/doc/author_testsuite.php,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -C2 -d -r1.6 -r1.6.2.1
*** author_testsuite.php 25 Jul 2005 10:09:32 -0000 1.6
--- author_testsuite.php 19 Aug 2005 16:16:44 -0000 1.6.2.1
***************
*** 186,189 ****
--- 186,205 ----
$testsuite[] = stack_testsuite_construct('RegExp','cxcxcz','3.1415927',0,'[0-9]*\.[0-9]*','');
+ $testsuite[] = stack_testsuite_construct('SA_True','TRUE','TRUE',1,'','');
+ $testsuite[] = stack_testsuite_construct('SA_True','FALSE','TRUE',0,'','');
+ $testsuite[] = stack_testsuite_construct('SA_True','integerp(3)','TRUE',1,'','');
+ $testsuite[] = stack_testsuite_construct('SA_True','integerp(3.1)','TRUE',0,'','');
+
+ $testsuite[] = stack_testsuite_construct('Num_tol_relative','1.1','1',0,'','No option, so 5%');
+ $testsuite[] = stack_testsuite_construct('Num_tol_relative','1.05','1',1,'','');
+ $testsuite[] = stack_testsuite_construct('Num_tol_relative','1.05','1',1,'0.1','Options passed');
+ $testsuite[] = stack_testsuite_construct('Num_tol_relative','1.05','3',0,'0.1','');
+ $testsuite[] = stack_testsuite_construct('Num_tol_relative','3.14','pi',1,'0.001','');
+
+ $testsuite[] = stack_testsuite_construct('Num_tol_absolute','1.1','1',0,'','No option, so 5%');
+ $testsuite[] = stack_testsuite_construct('Num_tol_absolute','1.05','1',1,'','');
+ $testsuite[] = stack_testsuite_construct('Num_tol_absolute','1.05','1',1,'0.1','Options passed');
+ $testsuite[] = stack_testsuite_construct('Num_tol_absolute','1.05','3',0,'0.1','');
+ $testsuite[] = stack_testsuite_construct('Num_tol_absolute','3.14','pi',0,'0.001','');
/* ********************************************************** */
***************
*** 225,231 ****
// (4) Sort out and display the output
echo "<tr> <th> pass? </th>
- <th> TAns </th>
<th> SAns </th>
<th> Ans </th>
<th> Errors </th>
<th> RawMark </th>
--- 241,248 ----
// (4) Sort out and display the output
echo "<tr> <th> pass? </th>
<th> SAns </th>
<th> Ans </th>
+ <th> TAns </th>
+ <th> Opt </th>
<th> Errors </th>
<th> RawMark </th>
***************
*** 301,307 ****
// (4) Construct the row.
echo " <td> $outcome </td>\n";
- echo " <td nowrap=\"nowrap\">".stack_s($ts['TAns'])." </td>\n ";
echo " <td nowrap=\"nowrap\">".stack_s($ts['SAns'])." </td>\n ";
echo " <td> $dispans </td>\n ";
echo " <td> $errans </td>\n ";
echo " <td> $rawmark </td>\n ";
--- 318,325 ----
// (4) Construct the row.
echo " <td> $outcome </td>\n";
echo " <td nowrap=\"nowrap\">".stack_s($ts['SAns'])." </td>\n ";
echo " <td> $dispans </td>\n ";
+ echo " <td nowrap=\"nowrap\">".stack_s($ts['TAns'])." </td>\n ";
+ echo " <td> {$ts['AnsTestOpt']} </td>\n ";
echo " <td> $errans </td>\n ";
echo " <td> $rawmark </td>\n ";
|