Exemple #1
0
 def test_change_comb_rule(self):
     top = Topology()
     assert top.combining_rule == 'lorentz'
     top.combining_rule = 'geometric'
     assert top.combining_rule == 'geometric'
     with pytest.raises(GMSOError):
         top.combining_rule = 'kong'
Exemple #2
0
 def test_change_comb_rule(self):
     top = Topology()
     assert top.combining_rule == "lorentz"
     top.combining_rule = "geometric"
     assert top.combining_rule == "geometric"
     with pytest.raises(GMSOError):
         top.combining_rule = "kong"