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

Method testGoalSaveCornerKick

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

Source from the content-addressed store, hash-verified

72 }
73
74 @Test
75 public void testGoalSaveCornerKick() throws ScannerException, ParserException {
76
77 Statement parsedStatement = parseStatement(GS_CORNER_KICK);
78
79 assertEquals(ActionOutcome.getEntity("GS"), parsedStatement.getActionOutcome());
80 assertEquals(StateContext.getEntity("C"), parsedStatement.getStateOut().getContext());
81 }
82
83 @Test
84 public void testShotOffTarget() throws ScannerException, ParserException {

Callers

nothing calls this directly

Calls 6

parseStatementMethod · 0.95
getEntityMethod · 0.95
getActionOutcomeMethod · 0.95
getEntityMethod · 0.95
getStateOutMethod · 0.95
getContextMethod · 0.45

Tested by

no test coverage detected