Domanda di colloquio di Microsoft

How would you test the function above?

Risposta di colloquio

Anonimo

2 gen 2011

They were looking for programmatic test (not just manual verification).