HookerBodyShots
30th April 2008, 09:02 PM
I'm not really asking for anyone to WRITE this code for me... But I have no idea how to test some methods. I'm making a 20Questions game and I already know that it works well enough for what I want.
Here's the deal: I've gotta have some test methods as well and I'm absolutely lost for how to do it. My main beef is in GameTest.java and has to do with how to test nextTurn. (Granted, I'm still kinda lost on the others but I have NO idea how to do nextTurn tests.)
Seriously, help would be appreciated. C'mon, I'm an oldie for cryin' out loud! (Check the Zip file.)
Here's the deal: I've gotta have some test methods as well and I'm absolutely lost for how to do it. My main beef is in GameTest.java and has to do with how to test nextTurn. (Granted, I'm still kinda lost on the others but I have NO idea how to do nextTurn tests.)
Seriously, help would be appreciated. C'mon, I'm an oldie for cryin' out loud! (Check the Zip file.)