Skip to content

Commit

Permalink
fixed fingerprint test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheusser committed Aug 3, 2018
1 parent 917db2f commit ef022a4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/test_fingerprint.py
Expand Up @@ -41,15 +41,8 @@

egg = Egg(pres=[[presented]],rec=[[recalled]])

egg.analyze('fingerprint')

def test_fingerprint():
assert np.allclose(egg.analyze('fingerprint').data.values[0],np.array(
[0.79166667, 0.79166667, 0.5, 0.60416667, 0.5,]))
assert np.allclose(egg.analyze('fingerprint', features=['category']).data.values[0], np.array([0.79166667]))

def test_fingerprint_permute_runs():
assert egg.analyze('fingerprint', permute=True, n_perms=3)

# def test_fingerprint_best():
# assert np.allclose(egg.analyze('fingerprint', match='best').data.values[0],np.array(
# [0.79166667, 0.60416667, 0.5, 0.5, 0.79166667]))

0 comments on commit ef022a4

Please sign in to comment.