Pregunta de entrevista de J.P. Morgan

How would you test a given code?