Closed zmaalick closed 4 years ago
• Positive tests:
○ Apply function to all of the available data in the DATA directory. Assert that the results start_str, end_str, dr_constraint are as expected (assertEqual)
• Error tests
○ Pass a cube which doesn't contain cube a dimension coordinate called 'time'
○ Pass something that isn't a cube to the function
Develop unittests for utils.get_date_range()
unittests should include all possible positive and negative tests