()
| 87 | } |
| 88 | |
| 89 | @Test |
| 90 | public void testCornerKickBlock() throws ScannerException, ParserException { |
| 91 | List<String> tokens = getTokens(":set T: Corner"); |
| 92 | Directive directive = (Directive) new Parser().parseTokenList(tokens); |
| 93 | |
| 94 | assertEquals(SET_PIECE_EXECUTION_BLOCK, directive.getType()); |
| 95 | assertEquals("T", directive.getTeam()); |
| 96 | assertEquals(CORNER_KICK, directive.getSetPiece()); |
| 97 | } |
| 98 | |
| 99 | @Test |
| 100 | public void defaultExecution() throws ScannerException, ParserException { |
nothing calls this directly
no test coverage detected