Team2337 / 2022-Presented-By-Noahs-Arcade

Other
1 stars 0 forks source link

Fix HeadingToTarget tests failing due to moved balls #159

Closed ZachOrr closed 2 years ago

ZachOrr commented 2 years ago

The HeadingToTarget tests were failing because we updated the ball locations in Constants (which is fine) but didn't update the tests.

This PR creates local copies of the PolarCoordinates for the balls we're using for the tests internally to the HeadingToTarget tests to make sure that our input/output is not dependent on the changing Constants PolarCoordinates.