()
| 197 | } |
| 198 | |
| 199 | @Test |
| 200 | public void testRandomActionParsing() throws ScannerException, ParserException { |
| 201 | |
| 202 | Statement parsedStatement = parseStatement(RANDOM_ACTION_STATEMENT); |
| 203 | |
| 204 | assertEquals(new MatchTime(12, 38), parsedStatement.getTime()); |
| 205 | assertEquals("T", parsedStatement.getTeam()); |
| 206 | assertEquals(Coordinates.getEntity("D"), parsedStatement.getStateIn().getSpace()); |
| 207 | assertEquals("Pass", parsedStatement.getAction().toString()); |
| 208 | assertEquals(Coordinates.getEntity("DM"), parsedStatement.getStateOut().getSpace()); |
| 209 | } |
| 210 | |
| 211 | @Test |
| 212 | public void testDefaultActionParsing() throws ScannerException, ParserException { |
nothing calls this directly
no test coverage detected