Pull LinearInterpolator.main() into a JUnit test.