()
| 143 | } |
| 144 | |
| 145 | @Test |
| 146 | public void testPossessorDefinition() throws ScannerException, ParserException { |
| 147 | List<String> tokens = getTokens(":possessor D C"); |
| 148 | Directive directive = (Directive) new Parser().parseTokenList(tokens); |
| 149 | |
| 150 | assertEquals(POSSESSOR_DEFINITION, directive.getType()); |
| 151 | assertEquals(TacticalPosition.X.D, directive.getTacticalPosition().getX()); |
| 152 | assertEquals(TacticalPosition.Y.C, directive.getTacticalPosition().getY()); |
| 153 | } |
| 154 | |
| 155 | @Test |
| 156 | public void testBreakDirective() throws ScannerException, ParserException { |
nothing calls this directly
no test coverage detected