Added new folder with one function to test

skala
Arthur Portugal 17 years ago
parent 59dea00253
commit 0d20ba8fbb
  1. 19
      tests/main/exercice/hotpotatoes.lib.test.php

@ -0,0 +1,19 @@
<?php
require_once(api_get_path(SYS_CODE_PATH).'exercice/hotpotatoes.lib.php');
class TestHotpotatoes extends UnitTestCase {
function testCheckImageName() {
$imgparams='';
$string='';
$res=CheckImageName();
$this->assertTrue(is_bool($res));
//var_dump($res);
}
}
?>
Loading…
Cancel
Save