Sha256: 26ae3f8a3b9798c7d8c9a8075c32bbde6ea283d8ed412ac8b2ce236884f72415
Contents?: true
Size: 1.11 KB
Versions: 107
Compression:
Stored size: 1.11 KB
Contents
# Bob Bob is a lackadaisical teenager. In conversation, his responses are very limited. Bob answers 'Sure.' if you ask him a question. He answers 'Whoa, chill out!' if you yell at him. He says 'Fine. Be that way!' if you address him without actually saying anything. He answers 'Whatever.' to anything else. The commented tests at the bottom of the bob_test.php are **Stretch Goals**, they are optional. They may be easier to solve if you are using the `mb_string` functions, which aren't installed by default with every version of PHP. ## 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 Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. [http://pine.fm/LearnToProgram/?Chapter=06](http://pine.fm/LearnToProgram/?Chapter=06) ## 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