From f8369d7d6e37248d6523fdac6e1d760fca4f1b52 Mon Sep 17 00:00:00 2001 From: Tobias Sarnowski Date: Wed, 18 Apr 2012 12:08:28 +0200 Subject: moved _testing to _test --- _test/tests/inc/safefn.test.php | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 _test/tests/inc/safefn.test.php (limited to '_test/tests/inc/safefn.test.php') diff --git a/_test/tests/inc/safefn.test.php b/_test/tests/inc/safefn.test.php new file mode 100644 index 000000000..78e08fec6 --- /dev/null +++ b/_test/tests/inc/safefn.test.php @@ -0,0 +1,48 @@ +assertEquals(SafeFN::encode($utf8),$safe); + $this->assertEquals(SafeFN::decode($safe),$utf8); + } + } + + function test2(){ + $tests[] = array('совместимая','%td%ta%sy%t8%t1%td%te%t4%t8%sw%tr'); + + foreach($tests as $test){ + list($utf8,$safe) = $test; + $this->assertEquals(SafeFN::decode($safe),$utf8); + } + } + +} +//Setup VIM: ex: et ts=4 : -- cgit v1.2.3