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

Method testActionOutcome

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

Source from the content-addressed store, hash-verified

52 }
53
54 @Test
55 public void testActionOutcome() throws ScannerException, ParserException {
56
57 Statement parsedStatement = parseStatement(ACTION_OUTCOME);
58
59 assertEquals(ActionOutcome.getEntity("PST"), parsedStatement.getActionOutcome());
60 assertEquals(StateContext.getEntity("FT"), parsedStatement.getStateOut().getContext());
61 assertEquals(Coordinates.getEntity("Ap"), parsedStatement.getStateOut().getSpace());
62 }
63
64 @Test
65 public void testGoalSaveActionOutcome() throws ScannerException, ParserException {

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected