Australia is famous for its dangerous wildlife!
Create a method called dangerRating that accepts a String with the name of an Australian
animal and returns a String describing how dangerous it is.
Use the following ratings:
"box jellyfish" → "Deadly""inland taipan" → "Deadly""blue-ringed octopus" → "Deadly""saltwater crocodile" → "Very dangerous""funnel-web spider" → "Very dangerous""kangaroo" → "Caution""emu" → "Caution""platypus" → "Surprisingly venomous""koala" → "Mostly harmless""Unknown"You're challenge is to write tests for this problem described above.
Stuck? You may find these lessons helpful: