Skip to content

thunderholt/fortune-kata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Computerlove pre-screening exercise 1

This is a simple project that asks the user for their name and then tells them their fortune.

Please complete the following steps:

  1. Get tests around the existing functionality. You will probably need to wrap Console in order to get it under test. See DateTimeOffsetWrapper for an example. You can use any unit testing and mocking libraries of your choice.

  2. Show the user the fortune on the day they were born.

E.G.

What's your name? Bob
When were you born (dd/mm/yyyy)? 01/01/1980
Hi Bob!
Your fortune for today is: Newlyweds should be avoided!
On the day you were born your fortune was: Beware of figs!
  1. If today is the user's birthday wish them a happy birthday.

E.G.

What's your name? Bob
When were you born (dd/mm/yyyy)? 01/01/1980
Happy birthday, Bob!
Your fortune for today is: Newlyweds should be avoided!
On the day you were born your fortune was: Beware of figs!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages