exercism/go

Go track exercise elons-toys passes tests in cases where it should not

do-nat opened this issue · 0 comments

When implementing a solution for the mentioned exercise, I stumbled upon the comments of the most starred solution.

There, it was pointed out by the author that some community solutions pass even though they should fail. This happens when the result of a division is assigned to an int variable even though it has a remainder.

see https://exercism.org/tracks/go/exercises/elons-toys/solutions/mu8086 for the comments and a link to a playground provided by the author.