def test_roughly_monotonic():
    pf = sqpf.SqFtProForma()
    for form in pf.config.forms:
        for park_config in pf.config.parking_configs:
            s = pf.get_ave_cost_sqft(form, park_config).values
            for i in range(0, s.size-1):
                left, right = s[i], s[i+1]
                if np.isnan(left) or np.isnan(right):
                    continue
                # actually this doesn't have to perfectly monotonic since
                # construction costs make the function somewhat discontinuous
                assert right*1.1 < left
dataset/ETHPy150Open UDST/urbansim/urbansim/developer/tests/test_sqftproforma.py/test_roughly_monotonic/swapped operands of `<`