Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 726 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 726 Bytes

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 retorts 'Calm down, I know what I'm doing!' if you yell a question at him.

He says 'Fine. Be that way!' if you address him without actually saying anything.

He answers 'Whatever.' to anything else.

Requirements

Install assignment dependencies:

$ yarn

Making the test suite pass

Execute the tests with:

$ yarn test

Source

Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial. http://pine.fm/LearnToProgram/?Chapter=06