Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
agile-java
/
ChessAndroid
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
04a6b699
authored
Jun 01, 2018
by
Paktalin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BishopTest added
parent
26e06e47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
app/src/test/java/com/example/paktalin/agilejava_exercises/AllTests.java
app/src/test/java/com/example/paktalin/agilejava_exercises/pieces/BishopTest.java
app/src/test/java/com/example/paktalin/agilejava_exercises/AllTests.java
View file @
04a6b699
...
...
@@ -23,6 +23,7 @@ public class AllTests extends TestSuite {
suite
.
addTestSuite
(
KingTest
.
class
);
suite
.
addTestSuite
(
PawnTest
.
class
);
suite
.
addTestSuite
(
QueenTest
.
class
);
suite
.
addTestSuite
(
BishopTest
.
class
);
return
suite
;
}
...
...
app/src/test/java/com/example/paktalin/agilejava_exercises/pieces/BishopTest.java
0 → 100644
View file @
04a6b699
package
com
.
example
.
paktalin
.
agilejava_exercises
.
pieces
;
/**
* Created by Paktalin on 01/06/2018.
*/
public
class
BishopTest
extends
PieceTest
{
@Override
void
setExpectedRepresentation
()
{
representation
=
'b'
;
}
@Override
Piece
createPiece
(
Piece
.
Color
color
)
{
return
new
Bishop
(
color
);
}
@Override
void
setExpectedStrength
()
{
strength
=
3
;
}
}
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