def METHOD_NAME():
    """Check guess works okay: polynom2d
    What happens when ymin=0
    """
    mdl = basic.Polynom2D()
    for p in mdl.pars:
        if p.name == 'c':
            assert p.val == pytest.approx(1.0)
        else:
            assert p.val == pytest.approx(0.0)
        assert p.min == pytest.approx(-hugeval)
        assert p.max == pytest.approx(hugeval)
    x = np.asarray([1, 2, 30])
    y = np.asarray([-2, 4, -2])
    z = np.asarray([10, 12, 0])
    mdl.guess(z, x, y)
    # This is a regression test
    for p in mdl.pars:
        if p.name == 'c':
            assert p.val == pytest.approx(6.0)
        else:
            assert p.val == pytest.approx(0.0)
    for par in [mdl.c, mdl.cx1y2, mdl.cx2y1, mdl.cx2y2]:
        assert par.min == pytest.approx(0)
        assert par.max == pytest.approx(12)
    def check(par, maxval):
        assert par.min == pytest.approx(-maxval)
        assert par.max == pytest.approx(maxval)
    check(mdl.cy1, 200)
    check(mdl.cy2, 33.33333333333333)
    check(mdl.cx1, 41.37931034482759)
    check(mdl.cx2, 1.426872770511296)
    check(mdl.cx1y1, 6.896551724137931)