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

Clock: add and subtract expect a string, not a Clock

Open IsaacG opened this issue 2 years ago • 2 comments

The add and subtract methods in the Clock test data have expected results which are strings. In Python, this translates to allowing solutions to return a string and not a Clock. I'm not sure how this manifests in other languages.

How burdensome would it be to change the expected results to be a clock instead? Would that be valid canonically (ie across tracks)?

IsaacG avatar Apr 16 '22 17:04 IsaacG