项目初始化
This commit is contained in:
16
extend/shengwang/test/TestTool.php
Normal file
16
extend/shengwang/test/TestTool.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
function assertEqual($expect, $actual)
|
||||
{
|
||||
if ($expect != $actual) {
|
||||
echo("\n assert failed");
|
||||
echo("\n expect:\n " . $expect);
|
||||
echo("\n actual:\n " . $actual);
|
||||
echo("\n");
|
||||
} else {
|
||||
echo("assert ok\n");
|
||||
echo("\n");
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user