()
| 109 | } |
| 110 | |
| 111 | @Test |
| 112 | public void testCornerKickExecution() throws ScannerException, ParserException { |
| 113 | List<String> tokens = getTokens("05:15 CK->Cross => M C @ AMd"); |
| 114 | Statement statement = (Statement) new Parser().parseTokenList(tokens); |
| 115 | |
| 116 | assertEquals(STANDARD, statement.getType()); // In the current processing layer it is treated as a standard action |
| 117 | assertEquals(PitchPosition.CK, statement.getPitchPosition()); // Virtual pitch position |
| 118 | assertEquals(TacticalPosition.X.M, statement.getActionOutcome().getTacticalPosition().getX()); |
| 119 | assertEquals(TacticalPosition.Y.C, statement.getActionOutcome().getTacticalPosition().getY()); |
| 120 | assertEquals(PitchPosition.AMd, statement.getActionOutcome().getPitchPosition()); |
| 121 | } |
| 122 | |
| 123 | @Test |
| 124 | public void testBallControl() throws ScannerException, ParserException { |
nothing calls this directly
no test coverage detected