Commit d8a4083
state-of-tic-tac-toe: add missing test cases for invalid board states (#3153)
* state-of-tic-tac-toe: add missing test cases for invalid board states
* fix: align test cases with canonical data and clean up comments
* chore: sync tests.toml using configlet
* fix: enable all tests and add trailing newline
* fix: enable all tests and resolve checkstyle newline errors
* remove comments
* final commit for endlines
* Update exercises/practice/state-of-tic-tac-toe/.meta/src/reference/java/StateOfTicTacToe.java
Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com>
* Update exercises/practice/state-of-tic-tac-toe/.meta/src/reference/java/StateOfTicTacToe.java
Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com>
* Update exercises/practice/state-of-tic-tac-toe/src/test/java/StateOfTicTacToeTest.java
Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com>
* rectify code
---------
Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com>1 parent fc789fb commit d8a4083
3 files changed
Lines changed: 40 additions & 3 deletions
File tree
- exercises/practice/state-of-tic-tac-toe
- .meta
- src/reference/java
- src/test/java
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
54 | 66 | | |
55 | 67 | | |
56 | 68 | | |
| |||
82 | 94 | | |
83 | 95 | | |
84 | 96 | | |
85 | | - | |
86 | 97 | | |
87 | 98 | | |
88 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
285 | 305 | | |
0 commit comments