This is a calculator built with php and tested with PhpUnit.
If you want to see the development you can look throught each steps that are described in differents branches.
This example is based on an example from the book Laravel Testing Decoded by Jeffrey Way.