Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write some tests #2

Open
sam-cox opened this issue Mar 22, 2014 · 0 comments
Open

Write some tests #2

sam-cox opened this issue Mar 22, 2014 · 0 comments

Comments

@sam-cox
Copy link
Owner

sam-cox commented Mar 22, 2014

Could really do with some tests to help with refactoring.

There are a few obvious tests:

  • Randomly generate amplitudes, phases for constituents, then attempt to decompose the resulting data and check that we are reasonably close to the initial data.
  • Generate equilibrium arguments (start of year), speeds etc for constituents and find some tabulated data to compare them to.
  • Generate all the relevant tables at the end of Schureman to check some of the 'magic' stuff going on in nodal_corrections.py, astro.py.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant