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

Method getPitchPosition

src/main/java/org/ttn/parser/ParserUtil.java:30–32  ·  view source on GitHub ↗
(String pitchPosition)

Source from the content-addressed store, hash-verified

28public class ParserUtil {
29
30 public static PitchPosition getPitchPosition(String pitchPosition) throws IllegalArgumentException {
31 return PitchPosition.valueOf(pitchPosition);
32 }
33
34 public static TacticalPosition.X getTacticalPositionX(String tacticalPositionX) throws IllegalArgumentException {
35 return TacticalPosition.X.valueOf(tacticalPositionX);

Callers 15

testGetPitchPositionMethod · 0.95
parseActionOutcomeMethod · 0.95
parseStatementMethod · 0.95
testParseKickOffMethod · 0.45
defaultExecutionMethod · 0.45
testBallControlMethod · 0.45
testStandardStatementMethod · 0.45
testPassActionMethod · 0.45
testBackPassActionMethod · 0.45

Calls

no outgoing calls

Tested by 15

testGetPitchPositionMethod · 0.76
testParseKickOffMethod · 0.36
defaultExecutionMethod · 0.36
testBallControlMethod · 0.36
testStandardStatementMethod · 0.36
testPassActionMethod · 0.36
testBackPassActionMethod · 0.36
testForwardPassActionMethod · 0.36