Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
write tests #5
Where possible, we should capture mathematical properties as much as possible.
interpolating spline should pass through all points
we could verify the boundary conditions are satisfied (correct derivatives are 0).
is profiling part of testing? maybe we could check that the computation scales with dimension, number of points, etc in some way?
That's a neat idea. Testing various combinations of boundary conditions sounds like a good idea to me too.
Another aspect to test would be just exercising the API, getting expected exceptions with bad inputs, etc.
Profiling scripts could go in a