> verify your logic
This is what unit tests are for.
And no one has ever written a buggy unit test.
That’s what the code is for.