EcohydrologyTeam / ClearWater-modules

A collection of water quality and vegetation process simulation modules designed to couple with water transport models.
MIT License
5 stars 1 forks source link

Make module test file for NSM #48

Open xaviernogueira opened 1 year ago

xaviernogueira commented 1 year ago

Task 1 - Make unit tests

Unit tests make sure the code is working properly. This tests and config options, and makes sure nothing breaks. Notably, this does not test the accuracy of the output values, only that all code behaviors are working.

This depends on:

Once they are done we can have a pytest file that runs NSM (even if some functions are not 110% finished).

Task 2 - Make calculation tests

This depends on issue #39 as well. Write tests that makes sure we are getting the scientifically correct values. These should only be written when all functions are in their final form.

@imscw95, @kewalak, @aufdenkampe I am happy to write tests as I have experience with it, but also could be a good cross-pollination potential?

imscw95 commented 1 year ago

I am happy to contribute to this effort. Can take a crack at it or if you want to touch base before, happy to set up a meeting.