Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Privacy
Imprint
Contact
Login methods
Sign in
Toggle navigation
Menu
Open sidebar
Mehmet Duhan Tercüman
Connect_Four
Commits
1ec9803d
Commit
1ec9803d
authored
Jul 02, 2021
by
Mehmet Duhan Tercüman
Browse files
Feinschliff Test
parent
21248a7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/test/java/PIS_HU1/AppTest.java
View file @
1ec9803d
...
...
@@ -137,8 +137,8 @@ public class AppTest {
public
void
testIsLegal
()
{
game
.
reset
();
int
i
=
0
;
while
(
i
<
5
){
game
.
makeMove
(
6
);
while
(
i
<
6
){
game
.
makeMove
(
4
);
i
++;
}
Assert
.
assertFalse
(
game
.
isLegal
(
game
.
getPlayerBoard
()[
0
]
|
(
1L
<<
game
.
getHeightCol
()[
4
])));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment