Add a couple TODOs

This commit is contained in:
Dave Burke
2022-03-02 22:20:41 -06:00
parent 58fd32823e
commit a8d2e12597
2 changed files with 10 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import java.util.Collections;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
// TODO fill out the javadoc for this class
public class Player { public class Player {
private int playerNumber; // e.g. playerNumber = 1 means "this is Player 1" private int playerNumber; // e.g. playerNumber = 1 means "this is Player 1"

View File

@@ -20,6 +20,15 @@ public class GameTest {
private StringWriter out; private StringWriter out;
private Game game; private Game game;
// TODO See if it's possible to initialize test data in a more readable way.
// e.g.
// playerGets(Card)
// playerGets(Card)
// playerDoes(String)
// playerGets(Card)
// playerDoes(String)
// initGame(g) // Creates the deck and initializes 'in' based on values accumulated from prior calls to playerGets and playerDoes.
private void givenStubGame() { private void givenStubGame() {
in = new StringReader(""); in = new StringReader("");
out = new StringWriter(); out = new StringWriter();