Use assertions instead of printing the results.