(self)
| 494 | assert states.size == 1 |
| 495 | |
| 496 | def test_append_no_norm_data(self): |
| 497 | gas = ct.Solution("h2o2.yaml") |
| 498 | gas.TP = 300, ct.one_atm |
| 499 | gas.set_unnormalized_mass_fractions(np.full(gas.n_species, 0.3)) |
| 500 | states = ct.SolutionArray(gas) |
| 501 | states.append(T=gas.T, P=gas.P, Y=gas.Y, normalize=False) |
| 502 | assert states[0].T == gas.T |
| 503 | assert states[0].P == gas.P |
| 504 | assert states[0].Y == approx(gas.Y) |
| 505 | |
| 506 | def test_append_scrambled_input(self): |
| 507 | gas = ct.Solution("h2o2.yaml") |
nothing calls this directly
no test coverage detected