Jump Trading Interview Question

Write a unit test in Python