Exemplo n.º 1
0
 def test_gui_csv_03(self):
     csv_filename = os.path.join(pkg_path, '..', 'models', 'solid_bending', 'solid_bending_multi_node.csv')
     with self.assertRaises(RuntimeError):
         load_deflection_csv(csv_filename)
     load_csv(csv_filename)
Exemplo n.º 2
0
 def test_gui_csv_03b(self):
     """tests solid_bending_multi_node.csv"""
     csv_filename = os.path.join(MODEL_PATH, 'solid_bending', 'solid_bending_multi_node.csv')
     load_csv(csv_filename)
Exemplo n.º 3
0
 def test_gui_csv_01(self):
     csv_filename = os.path.join(pkg_path, '..', 'models', 'solid_bending', 'solid_bending.txt')
     with self.assertRaises(ValueError):
         load_deflection_csv(csv_filename)
     load_csv(csv_filename)
Exemplo n.º 4
0
 def test_gui_csv_02(self):
     """tests solid_bending_multi_node.txt"""
     csv_filename = os.path.join(MODEL_PATH, 'solid_bending', 'solid_bending_multi_node.txt')
     with self.assertRaises(ValueError):
         load_deflection_csv(csv_filename) # bad shape
     load_csv(csv_filename)