Skip to content

Commit 71318dc

Browse files
JWock82JWock82
authored andcommitted
Updated test
1 parent fdd72b7 commit 71318dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Testing/test_torsion.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_member_torque_load(self):
2929
TorqueBeam.add_node('N2', 168, 0, 0)
3030
# Add a material
3131
TorqueBeam.add_material('Steel', 29000, 11400, 0.5, 490/1000/12**3)
32-
#Add section
32+
# Add section
3333
TorqueBeam.add_section('Section', 20, 100, 150, 250)
3434
# Add a beam with the following properties:
3535
TorqueBeam.add_member('M1', 'N1', 'N2', 'Steel', 'Section')
@@ -45,16 +45,16 @@ def test_member_torque_load(self):
4545
# subTest context manager prints which portion fails, if any
4646
with self.subTest(left_Rxn=left_Rxn):
4747
self.assertAlmostEqual(left_Rxn, -6.07, 2)
48-
48+
4949
right_Rxn = TorqueBeam.nodes['N2'].RxnMX['Combo 1']
5050
with self.subTest(right_Rxn=right_Rxn):
5151
self.assertAlmostEqual(right_Rxn, -8.93, 2)
52-
52+
5353
# Max/min torques on the beam
5454
max_torque = TorqueBeam.members['M1'].max_torque()
5555
with self.subTest(max_torque=max_torque):
5656
self.assertAlmostEqual(max_torque, 8.93, 2)
57-
57+
5858
min_torque = TorqueBeam.members['M1'].min_torque()
5959
with self.subTest(min_torque=min_torque):
6060
self.assertAlmostEqual(min_torque, -6.07, 2)

0 commit comments

Comments
 (0)