add bounds to tests
@@ -19,7 +19,7 @@ from dit.multivariate.secret_key_agreement import (
def test_tpitc1(dist, value):
"""
"""
- tpitc = two_part_intrinsic_total_correlation(dist, [[0], [1]], [2])
+ tpitc = two_part_intrinsic_total_correlation(dist, [[0], [1]], [2], bound_j=2, bound_u=2, bound_v=2)
assert tpitc == pytest.approx(value)
@@ -30,7 +30,7 @@ def test_tpitc1(dist, value):
def test_tpidtc1(dist, value):
"""
"""
- tpidtc = two_part_intrinsic_dual_total_correlation(dist, [[0], [1]], [2])
+ tpidtc = two_part_intrinsic_dual_total_correlation(dist, [[0], [1]], [2], bound_j=2, bound_u=2, bound_v=2)
assert tpidtc == pytest.approx(value)
@@ -41,5 +41,5 @@ def test_tpidtc1(dist, value):
def test_tpicaekl1(dist, value):
"""
"""
- tpicaekl = two_part_intrinsic_CAEKL_mutual_information(dist, [[0], [1]], [2])
+ tpicaekl = two_part_intrinsic_CAEKL_mutual_information(dist, [[0], [1]], [2], bound_j=2, bound_u=2, bound_v=2)
assert tpicaekl == pytest.approx(value)
