X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=unit_tests%2Fencode.php;h=7844ba5d8c1f32bb5e6c4fb219e8e1b3addf1a36;hb=900e09b8300463e3dd42e89c21de181520513e95;hp=615a8982c40e23b91e4f27312b1567833365b6b7;hpb=f920d084acbf8c53c996a6fee26530a41e7e0559;p=wfpl.git diff --git a/unit_tests/encode.php b/unit_tests/encode.php index 615a898..7844ba5 100644 --- a/unit_tests/encode.php +++ b/unit_tests/encode.php @@ -1,29 +1,18 @@ . +# This program is in the public domain within the United States. Additionally, +# we waive copyright and related rights in the work worldwide through the CC0 +# 1.0 Universal public domain dedication, which can be found at +# http://creativecommons.org/publicdomain/zero/1.0/ -# This file contains tests for functions in code/wfpl/format.php +# This file contains tests for functions in wfpl/encode.php # -# See code/wfpl/test.php for details on how to run or create tests +# See wfpl/test.php for details on how to run or create tests -require_once('code/wfpl/encode.php'); +require_once(__DIR__.'/../'.'encode.php'); -# returns number of errors function _test_encode_pulled($field, $value, $correct) { unit_test_func('enc_pulled', $value, $field, $correct); }