by jar · 16y ago · 0 comments
Now, every time you run the test you should read in this file and compare the results that you get running the function with the results contained in that file (which were already verified to be correct.)
This doesn't ensure that the calculations are done correctly, but it does ensure that after future code changes the output remains consistent.
No comments yet.