(self)
| 1782 | assert R.type == "user-rate-1" |
| 1783 | |
| 1784 | def test_eval_error(self): |
| 1785 | # Instantiate with non-numeric A factor to cause an exception during evaluation |
| 1786 | R = ct.ReactionRate.from_dict({"type": "user-rate-1", "A": 12}) |
| 1787 | R.eval_error = True |
| 1788 | with pytest.raises(ValueError): |
| 1789 | self.eval_rate(R) |
| 1790 | |
| 1791 | |
| 1792 | @pytest.fixture(scope='function') |