diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2021-05-21 10:30:40 +0200 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2021-05-21 10:30:40 +0200 |
| commit | 89f1ad18b810ce3e74d8b0cb36f28daf296b10bc (patch) | |
| tree | b72877b0b0631c63bd885d4d27bdb1e02c29d7f9 | |
| parent | 94ccf65ec2e30b8c559ac6adef7a5e4649cc1e65 (diff) | |
comment
| -rw-r--r-- | domain/src/test/java/mancala/domain/BowlTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/domain/src/test/java/mancala/domain/BowlTest.java b/domain/src/test/java/mancala/domain/BowlTest.java index 72ba444..3ff2b46 100644 --- a/domain/src/test/java/mancala/domain/BowlTest.java +++ b/domain/src/test/java/mancala/domain/BowlTest.java @@ -30,6 +30,8 @@ class BowlTest { if ((position + traversedCount) > 14) { // if looping around the board, position = ((start+traversed) - total) // in other words the amount of bowls that the absolute position is greater than the board's total bowls + // + // Only relevant during construction currentPosition = ((traversedCount + position) - 14); } else // Or just use normal position |
