Skip to content

Commit 84196ab

Browse files
committed
Updating Generation Test Suites
Starting more testing suite changes with pytest.
1 parent e61648e commit 84196ab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_generate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ def create_random_properties():
2525
- coordination_nums (np.ndarray): Array of random coordination numbers (converted to integers).
2626
"""
2727
# Generating random pore diameters within specified range
28-
pore_diameters = np.random.uniform(low=1.0, high=10.0, size=20)
28+
pore_diameters = np.random.uniform(low=1.0, high=10.0, size=20, seed=1)
2929

3030
# Generating random throat diameters within specified range
31-
throat_diameters = np.random.uniform(low=0.5, high=6.0, size=20)
31+
throat_diameters = np.random.uniform(low=0.5, high=6.0, size=20, seed=1)
3232

3333
# Generating random coordination numbers within specified range and converting to integers
3434
coordination_nums = np.random.uniform(low=0, high=8,
35-
size=20).astype(np.int64)
35+
size=20, seed=1).astype(np.int64)
3636
return pore_diameters, throat_diameters, coordination_nums
3737

3838

0 commit comments

Comments
 (0)