From e3db7f74c862b3be9ff9e7371ab600326b2d9cd9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 11 Jul 2025 22:12:27 +0100 Subject: Reduce maximum matrix size testing encryption/decryption. * tests/test_pyhegp.py (test_hegp_encryption_decryption_are_inverses): Reduce maximum matrix size to 100. --- tests/test_pyhegp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_pyhegp.py b/tests/test_pyhegp.py index eac499e..567ee17 100644 --- a/tests/test_pyhegp.py +++ b/tests/test_pyhegp.py @@ -25,15 +25,15 @@ from pyhegp.pyhegp import hegp_encrypt, hegp_decrypt, random_key @given(st.one_of( arrays("int32", - array_shapes(min_dims=2, max_dims=2, min_side=2, max_side=200), + array_shapes(min_dims=2, max_dims=2, min_side=2, max_side=100), elements=st.integers(min_value=0, max_value=2)), # The array above is the only realistic input, but we test more # kinds of inputs for good measure. arrays("int32", - array_shapes(min_dims=2, max_dims=2, min_side=2, max_side=200), + array_shapes(min_dims=2, max_dims=2, min_side=2, max_side=100), elements=st.integers(min_value=0, max_value=100)), arrays("float64", - array_shapes(min_dims=2, max_dims=2, min_side=2, max_side=200), + array_shapes(min_dims=2, max_dims=2, min_side=2, max_side=100), elements=st.floats(min_value=0, max_value=100))) ) @settings(deadline=None) -- cgit v1.2.3