Question d’entretien chez Xero

Explain why need to write test in this code