Skip to content

Commit

Permalink
Create test_sim_data_func.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry57 authored Oct 26, 2024
1 parent 6c6b7bc commit 17390c9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pytest/test_sim_data_func.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from GENetLib.sim_data_func import sim_data_func

def test_sim_data_func():
func_continuous = sim_data_func(n=1500, m=30, ytype='Continuous', seed=123)
assert func_continuous['X'] is not None
assert func_continuous['y'] is not None
assert func_continuous['z'] is not None
assert func_continuous['location'] is not None

0 comments on commit 17390c9

Please sign in to comment.