Skip to content

Commit

Permalink
adding test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahsereci committed Dec 5, 2022
1 parent 14dfc2e commit 75d4d48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_quad/test_bq_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
((np.array([0, 0]), np.array([1, 0])), None), # integration domain is empty
((np.zeros([2, 1]), np.ones([2, 1])), None), # bounds have too many dimensions
((np.zeros([2, 1]), np.ones([2, 1])), 2), # bounds have too many dimensions
((0, 1, 2), 2), # domain has too many elements
((-np.ones(2), np.zeros(2), np.ones(2)), 2), # domain has too many elements
]
)
def test_as_domain_wrong_input(dom, in_dim):
Expand Down

0 comments on commit 75d4d48

Please sign in to comment.