problem-specifications icon indicating copy to clipboard operation
problem-specifications copied to clipboard

Tournament - add non-error test case with a different team name

Open norbs57 opened this issue 2 years ago • 3 comments

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

  1. add a non-error test case with different team names, or
  2. to change (at least) one of the team names in one of the existing non-error test cases.

norbs57 avatar Mar 17 '22 20:03 norbs57