def METHOD_NAME(self, wrapper):
    constraint = nx.constraint(wrapper(self.D))
    assert constraint[0] == pytest.approx(1.003, abs=1e-3)
    assert constraint[1] == pytest.approx(1.003, abs=1e-3)
    assert constraint[2] == pytest.approx(1.389, abs=1e-3)