File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,12 @@ def test_stochastic_solid_motor_create_object_with_impulse(stochastic_solid_moto
34
34
stochastic_solid_motor : StochasticSolidMotor
35
35
The stochastic solid motor object, this is a pytest fixture.
36
36
"""
37
- total_impulse = []
38
- for _ in range (20 ):
39
- random_motor = stochastic_solid_motor .create_object ()
40
- total_impulse .append (random_motor .total_impulse )
37
+ total_impulse = [
38
+ stochastic_solid_motor .create_object ().total_impulse for _ in range (200 )
39
+ ]
41
40
42
41
assert np .isclose (np .mean (total_impulse ), 6500 , rtol = 0.3 )
43
- assert np .isclose (np .std (total_impulse ), 1000 , rtol = 0.3 )
42
+ assert np .isclose (np .std (total_impulse ), 1000 , rtol = 0.4 )
44
43
45
44
46
45
def test_stochastic_calisto_create_object_with_static_margin (stochastic_calisto ):
You can’t perform that action at this time.
0 commit comments