Skip to content
Snippets Groups Projects
Commit 2ad9af6f authored by Laurent COLBOIS's avatar Laurent COLBOIS
Browse files

Add check on number of comparisons in test_ijbc

parent 91b16612
No related branches found
No related tags found
1 merge request!124Resolve "IJBC database will fail on non-Idiap filesystems"
...@@ -317,6 +317,8 @@ def test_ijbc(): ...@@ -317,6 +317,8 @@ def test_ijbc():
# assert len(database.background_model_samples()) == 140732 # assert len(database.background_model_samples()) == 140732
assert len(database.references()) == 3531 assert len(database.references()) == 3531
assert len(database.probes()) == 19593 assert len(database.probes()) == 19593
num_comparisons = sum([len(item.references) for item in database.probes()])
assert num_comparisons == 19557 + 15638932 # Genuine + Impostor
@db_available("fargo") @db_available("fargo")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment