Sha256: deb6e17c4cbf7d6b8b7080846b1c6b92a4846d7d01f61d695a392b919e0775eb
Contents?: true
Size: 692 Bytes
Versions: 107
Compression:
Stored size: 692 Bytes
Contents
# Word Count Given a phrase, count the occurrences of each word in that phrase. For example for the input `"olly olly in come free"` ```plain olly: 2 in: 1 come: 1 free: 1 ``` ## Making the Test Suite Pass 1. Get [PHPUnit]. % wget --no-check-certificate https://phar.phpunit.de/phpunit.phar % chmod +x phpunit.phar 2. Execute the tests for an assignment. % phpunit.phar wordy/wordy_test.php [PHPUnit]: http://phpunit.de ## Source This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour. ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.
Version data entries
107 entries across 107 versions & 1 rubygems