That’s a bit of a rash assumption when you’ve only tested it on the two simple test cases given in the problem.
Here’s a thought… submit a solution that you know is wrong. Write the same answers each time, or no answer at all, and see whether that submission also scores 0 points.