Data Intelligence interview question

How do you make sure your code works?