problem-specifications
problem-specifications copied to clipboard
Tournament - add non-error test case with a different team name
For the tournament exercise, one of my students took the team names from the instructions and hard-coded them in the source code. Despite this, his solution passed all the tests. I believe this is because in all of the "non-error" test cases, the team names are the same as in the instructions. To discourage this hard-coding of team names, I would suggest to either
- add a non-error test case with different team names, or
- to change (at least) one of the team names in one of the existing non-error test cases.