Fork the repository, then clone your fork
Follow this process for your quiz:
- Write the tests for a method first!
- Commit with message "Tests for method_name"
- Use the tests to write the method.
- Commit with message "Implement method_name"
- Move on to the next method
- When all done, run the entire test suite to verify everything still works
- Turn it in with:
$ git push
-
has_teen?
A number is a teen if it is in the range 13 to 19 inclusive. Given three integers, return true if any of them are a teen.
-
not_string
Given a string, return a new string where "not" has been added to the front. However, if the string already begins with "not" return the original string unchanged.
-
icy_hot?
It is icy if a temperature is less than zero, and it is hot if a temperature is greater than 100. Given two temperatures, return true if either one is icy and the other is hot.
-
closer_to
Given a target number and two guesses, return the guess that is closer to the target. If they are the same distance, return 0.
-
two_as_one?
Given three integers, return true if it is possible to add two of the ints to get the third.