Skip to content

Commit

Permalink
add tests for new data functions
Browse files Browse the repository at this point in the history
  • Loading branch information
hadim committed Jul 27, 2023
1 parent a3163aa commit be52130
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,15 @@ def test_solubility():
"smiles",
"split",
]


def test_chembl_drugs():
data = dm.data.chembl_drugs()
assert data.shape == (1935, 1)
assert list(data.columns) == ["smiles"]


def test_chembl_samples():
data = dm.data.chembl_samples()
assert data.shape == (2000, 1)
assert list(data.columns) == ["smiles"]

0 comments on commit be52130

Please sign in to comment.