You can use property based testing for that.
But I've often run into cases where the AI gets into a vicious spiral of worse and worse code when you keep feeding it the test failures.
You can use property based testing for that.
But I've often run into cases where the AI gets into a vicious spiral of worse and worse code when you keep feeding it the test failures.