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