Javadoc in MoveListStrategyTest
This commit is contained in:
parent
1addc2a6d5
commit
b4664cd854
|
@ -14,10 +14,14 @@ public class MoveListStrategyTest {
|
|||
|
||||
private MoveStrategy moveList;
|
||||
|
||||
|
||||
@Nested
|
||||
@DisplayName("MoveListStrategy")
|
||||
class MoveList {
|
||||
|
||||
/**
|
||||
* Creates a new MoveListStrategy
|
||||
*/
|
||||
@BeforeEach
|
||||
void setup() {
|
||||
try {
|
||||
|
@ -27,6 +31,9 @@ public class MoveListStrategyTest {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the directions are returned correct by method nextMove
|
||||
*/
|
||||
@Test
|
||||
void checkMove() {
|
||||
Assertions.assertEquals(PositionVector.Direction.RIGHT,moveList.nextMove());
|
||||
|
|
Loading…
Reference in New Issue