We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72746fc commit cd39f61Copy full SHA for cd39f61
tests/test_forecast.py
@@ -51,8 +51,10 @@ def test_ascii_some_missing_verbose(self):
51
self.assertEqual(10, test_fore.n_cat)
52
numpy.testing.assert_array_equal([cat.catalog_id for cat in test_fore], numpy.arange(10))
53
54
- def test_ascii_all_present(self):
55
- pass
+ def test_get_event_counts(self):
+ fname = os.path.join(get_test_catalog_root(), 'all_present.csv')
56
+ test_fore = load_catalog_forecast(fname)
57
+ numpy.testing.assert_array_equal(numpy.ones(10), test_fore.get_event_counts())
58
59
if __name__ == '__main__':
60
unittest.main()
0 commit comments