Révision 5fb01677 tests/test_dos_input.py

b/tests/test_dos_input.py
58 58
                    'try_disso': True,
59 59
                    'sample_points_per_angle': 4,
60 60
                    'collision_threshold': 0.9,
61
                    'collision_bottom': 5.2,
61
                    'min_coll_height': 5.2,
62 62
                    'refine_inp_file': 'refine.inp',
63 63
                    'energy_cutoff': 1.0
64 64
                    }
......
132 132
        self.assertEqual(get_coll_thrsld(), 0.9)
133 133

  
134 134
    def test_coll_bottom(self):
135
        self.assertEqual(get_coll_bottom(), 5.2)
135
        self.assertEqual(get_min_coll_height(), 5.2)
136 136

  
137 137
    def test_refine_inp_file(self):
138 138
        self.assertEqual(get_refine_inp_file(), 'refine.inp')
......
205 205
        self.assertRaises(ValueError, get_coll_thrsld)
206 206

  
207 207
    def test_coll_bottom(self):
208
        self.assertRaises(ValueError, get_coll_bottom)
208
        self.assertRaises(ValueError, get_min_coll_height)
209 209

  
210 210
    def test_refine_inp_file(self):
211 211
        self.assertRaises(FileNotFoundError, get_refine_inp_file)

Formats disponibles : Unified diff