Goldman Sachs interview question

Write code for 4 tests for a calculator