mplacona
04/04/2018, 2:04 PMfun Date.isWeekend() = day == 6 || day == 7
Inside a class. How do I go about unit testing this?andyb
04/04/2018, 2:15 PMisWeekend( new Date())
(forgotten how much I hate writting new
🙂 )kingsley
04/07/2018, 8:11 AMisWeekend
. You shouldn’t need an extra annotation