Software icon indicating copy to clipboard operation
Software copied to clipboard

Penalty kick play Python test

Open aviwad opened this issue 2 years ago • 1 comments

Description of the task

Currently, penalty_kick_play.cpp does not have any Python test / validation. Need to create and work on penalty_kick_play_test.py. A good starting point would be penalty_kick_play_test.cpp.

Acceptance criteria

  • [ ] Adapt original cpp tests to Python
  • [ ]

Blocked By

aviwad avatar Nov 04 '23 22:11 aviwad

Here's some advice to help get started:

  1. Create a pytest first using the other pytests as a base model
  2. Get the pytest running with no validation on Thunderscope
  3. Think about validation while thinking of ssl robocup rules (https://ssl.robocup.org/rules/)

Refer to the discord thread discussion for details about validation 5. Write validation and check for any rules violations (good penalty kick invariants: robot doesn't dribble for more than a meter, robot obeys SETUP and NORMAL_START referee rules, robot doesn't enter robot enemy zone)

itsarune avatar Nov 04 '23 22:11 itsarune