Test functions for Rock Paper Scissors game


When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

  1. Test for all possible scenaries in which “Hand one wins!”.
  2. Test for all possible scenaries in which “Hand two wins!”.
  3. Test to make sure user must input a valid entry (e.g. ‘rock’, ‘paper’, or ‘scissors’)
  4. Think of more tests you could write and try writing them.