Have it do stuff you know how to do, just a lot faster. Or, even if you don't know exactly how to do it, check what it gave you to see if it produces expected results.
For example, it gives you code. You run that code to see if the outputs are as expected.