Skip to content

Commit

Permalink
modifying test for evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
faroit committed Jul 28, 2016
1 parent 0a5283e commit 314b84e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/test_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@ def user_function2(track):
)
def test_evaluate(method):

dsd = dsdtools.DB(root_dir="data/DSD100subset", evaluation=method)
dsd = dsdtools.DB(root_dir="data/DSD100subset", evaluation=True)

# process dsd but do not save the results
assert dsd.evaluate(
assert dsd.run(
user_function=user_function1,
ids=55
ids=55,
evaluation=True
)

assert dsd.evaluate(
assert dsd.run(
user_function=user_function2,
evaluation=True,
ids=1
)

0 comments on commit 314b84e

Please sign in to comment.