8000 ENH: Add Eccentricity to Stochastic Simulations by kevin-alcaniz · Pull Request #792 · RocketPy-Team/RocketPy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Add Eccentricity to Stochastic Simulations #792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
TST: fix tests with eccentricity
  • Loading branch information
Gui-FernandesBR committed Mar 23, 2025
commit b028e00c81ccf9ae42749279d1f7e732b1adc9bd
8 changes: 4 additions & 4 deletions tests/unit/test_rocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,15 +331,15 @@ def test_add_cm_eccentricity_assert_properties_set(calisto):
assert calisto.cp_eccentricity_x == -4
assert calisto.cp_eccentricity_y == -5

assert calisto.thrust_eccentricity_y == -4
assert calisto.thrust_eccentricity_x == -5
assert calisto.thrust_eccentricity_x == -4
assert calisto.thrust_eccentricity_y == -5


def test_add_thrust_eccentricity_assert_properties_set(calisto):
calisto.add_thrust_eccentricity(x=4, y=5)

assert calisto.thrust_eccentricity_y == 4
assert calisto.thrust_eccentricity_x == 5
assert calisto.thrust_eccentricity_x == 4
assert calisto.thrust_eccentricity_y == 5


def test_add_cp_eccentricity_assert_properties_set(calisto):
Expand Down
0