Skip to content

Commit

Permalink
Reduce size of grid data generation
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Feb 13, 2024
1 parent 55a5e12 commit 4a420d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration_tests/test_parameter_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, data: st.DataObject):
self.field_values = {}
self.surface_values = {}

coordinates = st.integers(min_value=1, max_value=10)
coordinates = st.integers(min_value=1, max_value=4)
self.dims = data.draw(st.tuples(coordinates, coordinates, coordinates))
self.size = self.dims[0] * self.dims[1] * self.dims[2]
self.actnum = data.draw(
Expand Down
2 changes: 1 addition & 1 deletion tests/unit_tests/config/egrid_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def to_file(
min_value=-100.0, max_value=100.0, allow_nan=False, allow_infinity=False, width=32
)

indices = st.integers(min_value=4, max_value=6)
indices = st.integers(min_value=1, max_value=4)
units = st.sampled_from(Units)
grid_relatives = st.sampled_from(GridRelative)
coordinate_types = st.sampled_from(CoordinateType)
Expand Down

0 comments on commit 4a420d1

Please sign in to comment.