def METHOD_NAME(flex1, flex2):
    total = flex1 + flex2
    assert content1_probe.height == approx(probe.height * flex1 / total, abs=20)
    assert content2_probe.height == approx(probe.height * flex2 / total, abs=20)