Skip to content

Commit 172d7ab

Browse files
JWock82JWock82
authored andcommitted
Commented out duplicate test callback
1 parent 91b9d45 commit 172d7ab

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Testing/test_member_internal_results.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ def test_beam_internal_forces():
4040

4141
# Add a member distributed load along the strong axis
4242
beam.add_member_dist_load('M1', 'FY', -0.5, -0.5, case='D')
43-
beam.add_load_combo('D', {'D':1.0})
43+
beam.add_load_combo('D', {'D': 1.0})
4444

4545
# Add a member distributed laod along the weak axis
4646
beam.add_member_dist_load('M1', 'FZ', -0.5, -0.5, case='D')
47-
beam.add_load_combo('D', {'D':1.0})
47+
beam.add_load_combo('D', {'D': 1.0})
4848

4949
# Analyze the model
5050
beam.analyze_linear()
@@ -79,5 +79,6 @@ def test_beam_internal_forces():
7979
assert math.isclose(beam.members['M1'].deflection('dy', 10, 'D')*12, 0, abs_tol=0.00001), 'dy internal deflection test failed at end of member.'
8080
assert math.isclose(beam.members['M1'].deflection('dz', 10, 'D')*12, 0, abs_tol=0.00001), 'dz internal deflection test failed at end of member.'
8181

82-
if __name__ == '__main__':
83-
test_beam_internal_forces()
82+
83+
# if __name__ == '__main__':
84+
# test_beam_internal_forces()

0 commit comments

Comments
 (0)