Skip to content

Commit

Permalink
increased coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleybeckner authored and wesleybeckner committed Nov 2, 2018
1 parent 6d24b49 commit 6f0be26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion salty/tests/test_data_manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_2_devmodel_to_array(self):
return X_train, Y_train, X_test, Y_test

def test_3_merge_duplicates(self):
data = salty.merge_duplicates(self.devmodel)
data = salty.merge_duplicates(self.devmodel, keep_descriptors=True)
return data

def test_4_assign_category(self):
Expand Down
5 changes: 5 additions & 0 deletions salty/tests/test_iupac_smiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ def test_1_check_data(self):
df = salty.load_data(self.data_files[i])
self.check_data(df)

def test_2_check_wrong_ion(selfs):
ion = 'stupid_nonsense_string'
salty.check_name(ion)

def test_benchmark(self):
salty.Benchmark.run(self.test_1_check_data)
salty.Benchmark.run(self.test_2_check_wrong_ion)

def check_data(self, df):
startTime = datetime.datetime.now()
Expand Down

0 comments on commit 6f0be26

Please sign in to comment.