MCPcopy Create free account
hub / github.com/atas76/openengine / testShotOffTarget

Method testShotOffTarget

src/test/java/org/fgn/ParserTest.java:83–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 @Test
84 public void testShotOffTarget() throws ScannerException, ParserException {
85
86 Statement parsedStatement = parseStatement(SHOT_OFF_TARGET);
87
88 assertEquals(StateContext.getEntity("GK"), parsedStatement.getStateOut().getContext());
89 assertEquals(" comment", parsedStatement.getComment());
90 }
91
92 @Test
93 public void testGoalSaveCatch() throws ScannerException, ParserException {

Callers

nothing calls this directly

Calls 5

parseStatementMethod · 0.95
getEntityMethod · 0.95
getStateOutMethod · 0.95
getCommentMethod · 0.95
getContextMethod · 0.45

Tested by

no test coverage detected