From cbc599fd57f87ccdc7daa106319bbe1aeb1a893b Mon Sep 17 00:00:00 2001 From: Manuel Guenther <manuel.guenther@idiap.ch> Date: Tue, 30 Jun 2015 14:16:51 +0200 Subject: [PATCH] Added minimal test case for bic-jets --- bob/bio/face/test/test_algorithms.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bob/bio/face/test/test_algorithms.py b/bob/bio/face/test/test_algorithms.py index 5874af5d..aa397f90 100644 --- a/bob/bio/face/test/test_algorithms.py +++ b/bob/bio/face/test/test_algorithms.py @@ -111,3 +111,11 @@ def test_histogram(): reference *= 2. assert abs(histogram.score(model2, feature2) - reference) < 1e-5 assert abs(histogram.score_for_multiple_probes(model2, [feature2, feature2]) - reference) < 1e-5 + + +def test_bic_jets(): + bic = bob.bio.base.load_resource("bic-jets", "algorithm") + assert isinstance(bic, bob.bio.base.algorithm.BIC) + assert isinstance(bic, bob.bio.base.algorithm.Algorithm) + + # TODO: add more tests for bic-jets -- GitLab