PyEphem already has a few tests written, if you will look inside of its "tests" directory — most of the larger tests compare its output against JPL predictions for the same objects.
PyEphem already has a few tests written, if you will look inside of its "tests" directory — most of the larger tests compare its output against JPL predictions for the same objects.