I've started working on a PHP test suite in my fork. Right now I'm most interested in tests for the ellipsize_to_word function.
https://github.com/aaronpk/cassis/blob/master/tests/EllipsizeTest.php
It would be great if you could dump some notes in a comment here on test cases you use for this function. Even just some examples of original+truncated version for what you expect the function to do in all the edge cases would be useful. Thanks!
I've started working on a PHP test suite in my fork. Right now I'm most interested in tests for the
ellipsize_to_wordfunction.https://github.com/aaronpk/cassis/blob/master/tests/EllipsizeTest.php
It would be great if you could dump some notes in a comment here on test cases you use for this function. Even just some examples of original+truncated version for what you expect the function to do in all the edge cases would be useful. Thanks!