def test_least_squares():

    for n in range (1, 100):
        g,h = least_squares_parameters(n)

        h2 = 4 - 2*g - (4*(g-2)**2 - 3*g**2)**.5

        assert abs(h2-h) < 1.e-12
doc
dataset/ETHPy150Open rlabbe/filterpy/filterpy/gh/test_gh.py/test_least_squares--crossover with--dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/idlelib/idle_test/test_calltips.py/TC.__call__