def test_04_oblimin_minres_3_factors():

    test_name = 'test04'
    factors = 3
    method = 'uls'
    rotation = 'oblimin'

    check = check_rotation(test_name, factors, method, rotation)
    assert check > THRESHOLD
def test_02_quartimax_minres_3_factors():

    test_name = 'test02'
    factors = 3
    method = 'uls'
    rotation = 'quartimax'

    check = check_rotation(test_name, factors, method, rotation)
    assert check > THRESHOLD
def test_07_equamax_minres_2_factors():

    test_name = 'test07'
    factors = 2
    method = 'uls'
    rotation = 'equamax'

    check = check_rotation(test_name, factors, method, rotation)
    assert check > THRESHOLD
def test_02_geomin_ort_ml_3_factors():

    test_name = 'test02'
    factors = 3
    method = 'ml'
    rotation = 'geomin_ort'

    check = check_rotation(test_name, factors, method, rotation)
    assert check == 1
def test_02_geomin_ort_minres_2_factors():

    test_name = 'test02'
    factors = 2
    method = 'uls'
    rotation = 'geomin_ort'

    check = check_rotation(test_name, factors, method, rotation)
    assert check == 1
def test_07_oblimin_minres_2_factors_gamma():

    test_name = 'test07_gamma'
    factors = 2
    method = 'uls'
    rotation = 'oblimin'
    gamma = 0.5

    check = check_rotation(test_name, factors, method, rotation, gamma=gamma)
    assert check > THRESHOLD