about summary refs log tree commit diff
path: root/tests/test_pyhegp.py
diff options
context:
space:
mode:
authorArun Isaac2025-08-04 13:25:55 +0100
committerArun Isaac2025-08-06 22:40:41 +0100
commit925bb7d67bcd7e5b756987093b15d21426852ba1 (patch)
tree70c7048dfbda8aa63297c87984c7fcb617d07d4c /tests/test_pyhegp.py
parent92727365d1e3fc67b66278fd7cbcda77dd27c09e (diff)
downloadpyhegp-925bb7d67bcd7e5b756987093b15d21426852ba1.tar.gz
pyhegp-925bb7d67bcd7e5b756987093b15d21426852ba1.tar.lz
pyhegp-925bb7d67bcd7e5b756987093b15d21426852ba1.zip
Compute summary on encryption if not provided.
* pyhegp/pyhegp.py (genotype_summary): New function.
(summary): Use genotype_summary.
(encrypt): Compute summary if not provided.
* tests/test_pyhegp.py (test_simple_workflow): Remove xfail mark.
Diffstat (limited to 'tests/test_pyhegp.py')
-rw-r--r--tests/test_pyhegp.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_pyhegp.py b/tests/test_pyhegp.py
index 52a6238..d91f164 100644
--- a/tests/test_pyhegp.py
+++ b/tests/test_pyhegp.py
@@ -105,7 +105,6 @@ def test_conservation_of_solutions(genotype, phenotype):
             == np.linalg.solve(hegp_encrypt(genotype, key),
                                hegp_encrypt(phenotype, key)))
 
-@pytest.mark.xfail
 def test_simple_workflow():
     result = CliRunner().invoke(main,
                                 ["encrypt",