Moving CAD test to regression tests.

This commit is contained in:
pshriwise 2018-09-25 23:00:50 -05:00
parent d32a8cf80e
commit 22448ee005
8 changed files with 1 additions and 9 deletions

View file

@ -0,0 +1 @@
import pytest

View file

@ -1,9 +0,0 @@
import numpy as np
import pytest
def assert_unbounded(obj):
"""Assert that a region/cell is unbounded."""
ll, ur = obj.bounding_box
assert ll == pytest.approx((-np.inf, -np.inf, -np.inf))
assert ur == pytest.approx((np.inf, np.inf, np.inf))