Or how about a more complicated example. Let’s say you were writing a genetic algorithm engine, and wanted to test your crossover functions. Your functions and their tests might look like:
You can view the results of the tests here. Notice that you can click on each of the tests in the results to get more details. If any of the tests had failed, the failing tests would be marked in red, and expanded, showing the expected value, and the actual value, along with other helpful information.