SERG-Delft / andy

Andy assesses student's test code. It's used in CSE1110, TU Delft.
MIT License
78 stars 22 forks source link

Eliminated Boolean Arguments From getNumberOfPassedChecks and getTotalNumberOfChecks #269

Open vesk4000 opened 1 year ago

vesk4000 commented 1 year ago

Closes #219.

Refactored a few methods in the CodeChecksResult class:

Fixed the method calls, of course, and the behaviour is exactly the same. I wasn't sure if I should refactor getTotalNumberOfChecks, in addition to getNumberOfPassedChecks, but I did anyway, since it seemed sensible.