def test_stress_von_mises(self): expected_mises = 283.2082 from femresult.resulttools import calculate_von_mises as vm mises = vm(self.get_stress_values()) # fcc_print(round(mises, 4)) self.assertEqual( round(mises, 4), expected_mises, "Calculated von Mises stress is not the expected value.")
def test_stress_von_mises( self ): expected_mises = 283.2082 from femresult.resulttools import calculate_von_mises as vm mises = vm(self.get_stress_values()) # fcc_print(round(mises, 4)) self.assertEqual( round(mises, 4), expected_mises, "Calculated von Mises stress is not the expected value." )