it does not print anything
Ok, look at the code to see what is supposed to be in the variable that is returned by the method.
How would it be possible for the method to leave the value in the...
Type: Posts; User: Norm
it does not print anything
Ok, look at the code to see what is supposed to be in the variable that is returned by the method.
How would it be possible for the method to leave the value in the...
The array answers contains ALL the responses. How does that one statement check for the winner of "rock"? vs the winner for "paper"?
Did you add a print statement to print what was returned by: ...
assertTrue(Arrays.asList(answers).contains(wordPlay.rockPaperScissors("rock")));
What is that statement supposed to test? Can you explain that?
Print out the value returned by:...
I was asking about line 57 in WordPlayUnitTests4.java
What value is in the String returned for the method: wordPlay.rockPaperScissors
Add print statements so you can see what each of those calls...
What statement is at line 57? What test was made on that line?
What value is in the String returned for the method: wordPlay.rockPaperScissors
Add print statements so you can see what each of...
What statement gives that error? I do not see that message in the code.
Please edit your post and wrap your code with code tags:
**YOUR CODE GOES HERE**
to get highlighting and...