Skip to content

Commit

Permalink
update generator test using IHDP covariates
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianFranz committed Jan 18, 2020
1 parent 92775a1 commit 00a0f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_data_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def covariates(_, *, random_state, **kwargs):
)
df = list(gen)[0]
assert len(df) == len(ihdp_cov)
assert len(set(df.columns).intersection({f"{i}" for i in range(25)})) == 25
assert len(set(df.columns).intersection({f"x_{i}" for i in range(25)})) == 25

gen = generate_data(
covariates=ihdp_cov.to_numpy(),
Expand Down

0 comments on commit 00a0f92

Please sign in to comment.