richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

Full codecov for game::confirm_tile_move #582

Closed richelbilderbeek closed 5 years ago

richelbilderbeek commented 5 years ago

Is your feature request related to a problem? Please describe.

Currently, game::confirm_tile_move has incomplete code coverage. This can be fixed using a different way to write the function.

Describe the solution you'd like

Change the function to have exactly the same behavior, yet has all code covered. Ask a medior to check your reasoning first.

Tip: assert a direction to be 4.

Describe alternatives you've considered

None.

Additional context

None.