def test_turn_coord_cons_big_gamma(): turn_rate = 0.05 alpha = 0.05 TAS = 100 beta = 0.01 gamma = 0.2 expected_phi = 0.4767516242692935 phi = turn_coord_cons(turn_rate, alpha, beta, TAS, gamma) assert_almost_equal(phi, expected_phi)
def test_turn_coord_cons_small_gamma(): turn_rate = 0.05 alpha = 0.05 TAS = 100 beta = 0.01 gamma = 0 expected_phi = 0.472092273171819 phi = turn_coord_cons(turn_rate, alpha, beta, TAS, gamma) assert_almost_equal(phi, expected_phi)
def test_turn_coord_cons1_against_2(): turn_rate = 0.05 alpha = 0.05 TAS = 100 beta = 0 gamma = 0 expected_phi = turn_coord_cons_horizontal_and_small_beta( turn_rate, alpha, TAS) phi = turn_coord_cons(turn_rate, alpha, beta, TAS, gamma) assert_almost_equal(phi, expected_phi)
def test_turn_coord_cons1_against_2(): turn_rate = 0.05 alpha = 0.05 TAS = 100 beta = 0 gamma = 0 expected_phi = turn_coord_cons_horizontal_and_small_beta(turn_rate, alpha, TAS) phi = turn_coord_cons(turn_rate, alpha, beta, TAS, gamma) assert_almost_equal(phi, expected_phi)