Javadoc in MoveListStrategyTest

This commit is contained in:
romanschenk37 2022-03-25 23:44:06 +01:00
parent 1addc2a6d5
commit b4664cd854
1 changed files with 7 additions and 0 deletions

View File

@ -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());