@@ -29,7 +29,7 @@ def test_member_torque_load(self):
29
29
TorqueBeam .add_node ('N2' , 168 , 0 , 0 )
30
30
# Add a material
31
31
TorqueBeam .add_material ('Steel' , 29000 , 11400 , 0.5 , 490 / 1000 / 12 ** 3 )
32
- #Add section
32
+ # Add section
33
33
TorqueBeam .add_section ('Section' , 20 , 100 , 150 , 250 )
34
34
# Add a beam with the following properties:
35
35
TorqueBeam .add_member ('M1' , 'N1' , 'N2' , 'Steel' , 'Section' )
@@ -45,16 +45,16 @@ def test_member_torque_load(self):
45
45
# subTest context manager prints which portion fails, if any
46
46
with self .subTest (left_Rxn = left_Rxn ):
47
47
self .assertAlmostEqual (left_Rxn , - 6.07 , 2 )
48
-
48
+
49
49
right_Rxn = TorqueBeam .nodes ['N2' ].RxnMX ['Combo 1' ]
50
50
with self .subTest (right_Rxn = right_Rxn ):
51
51
self .assertAlmostEqual (right_Rxn , - 8.93 , 2 )
52
-
52
+
53
53
# Max/min torques on the beam
54
54
max_torque = TorqueBeam .members ['M1' ].max_torque ()
55
55
with self .subTest (max_torque = max_torque ):
56
56
self .assertAlmostEqual (max_torque , 8.93 , 2 )
57
-
57
+
58
58
min_torque = TorqueBeam .members ['M1' ].min_torque ()
59
59
with self .subTest (min_torque = min_torque ):
60
60
self .assertAlmostEqual (min_torque , - 6.07 , 2 )
0 commit comments