Pregunta de entrevista de NBC Sports Group

Write a unit test for that function.