You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Halfway through making the RoutePlanner class, I switched from using int row and int column to using a std::pair<int, int> to represent coordinates. Converting all coordinate pairs to std::pair instead of separate ints will allow us to consolidate some functions into one and massively clean up the code in many other functions. Priority: Low User Story: As a user, I don't know how this is relevant. Maybe I want the programmers to be able to more easily read their code. Acceptance Criteria: In the RoutePlanner, whenever a coordinate pair is used as two separate integers, it is changed to a std::pair<int, int> similar to how it is done in isTurnValid(). Rerun unit tests to ensure you didn't break anything.
The text was updated successfully, but these errors were encountered:
Assigned Dev: N/A
Description: Halfway through making the RoutePlanner class, I switched from using
int row
andint column
to using astd::pair<int, int>
to represent coordinates. Converting all coordinate pairs tostd::pair
instead of separateint
s will allow us to consolidate some functions into one and massively clean up the code in many other functions.Priority: Low
User Story: As a user, I don't know how this is relevant. Maybe I want the programmers to be able to more easily read their code.
Acceptance Criteria: In the RoutePlanner, whenever a coordinate pair is used as two separate integers, it is changed to a
std::pair<int, int>
similar to how it is done in isTurnValid(). Rerun unit tests to ensure you didn't break anything.The text was updated successfully, but these errors were encountered: