()
| 245 | } |
| 246 | |
| 247 | @Test |
| 248 | public void testMoveAction() throws ScannerException, ParserException { |
| 249 | List<String> tokens = getTokens("04:16 DMw->Move => MDw"); |
| 250 | Statement statement = (Statement) new Parser().parseTokenList(tokens); |
| 251 | |
| 252 | assertEquals(256, statement.getTime()); |
| 253 | assertEquals(PitchPosition.DMw, statement.getPitchPosition()); |
| 254 | assertEquals(ActionType.Move, statement.getAction().getType()); |
| 255 | assertEquals(PitchPosition.MDw, statement.getActionOutcome().getPitchPosition()); |
| 256 | assertEquals(STANDARD, statement.getType()); |
| 257 | } |
| 258 | |
| 259 | @Test |
| 260 | public void testShotAtGoal() throws ScannerException, ParserException { |
nothing calls this directly
no test coverage detected