For unity test
This commit is contained in:
parent
85eeb6b2ea
commit
fd5e127b2b
1 changed files with 15 additions and 0 deletions
15
html/admin/test_me.php
Normal file
15
html/admin/test_me.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?
|
||||
|
||||
require_once('ac_common.php');
|
||||
|
||||
echo "<h1>check sql_filter_per</h1>";
|
||||
$a=sql_filter_per(1,1);
|
||||
$ra=($a==" jr_tech_per = 1 ")?'OK':'ERROR';
|
||||
echo $a." ".$ra."<br>";
|
||||
$b= FormatString(sql_filter_per('3','7'));
|
||||
$exp=FormatString('jr_tech_per in (select p_id from parm_periode where p_start >= 3 and p_end <= 7)');
|
||||
$rb=(strcmp($b,$exp)==0)?'OK':'ERROR';
|
||||
|
||||
echo "Received $b <br> Expected $exp $rb<br>";
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue