Skip to content

Commit

Permalink
Update and rename test_all.py to test_sim_data_scalar.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry57 authored Oct 26, 2024
1 parent ef12f0f commit 64445e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 32 deletions.
32 changes: 0 additions & 32 deletions pytest/test_all.py

This file was deleted.

6 changes: 6 additions & 0 deletions pytest/test_sim_data_scalar.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from GENetLib.sim_data_scalar import sim_data_scalar

def test_sim_data_scalar():
scalar_survival_linear = sim_data_scalar(rho_G=0.25, rho_E=0.3, dim_G=500, dim_E=5, n=1500, dim_E_Sparse=2, ytype='Survival', n_inter=30)
assert scalar_survival_linear[0] is not None
assert scalar_survival_linear[1] is not None

0 comments on commit 64445e6

Please sign in to comment.