cantera/test/matlab/testImport.m
Bryan W. Weber d735cf0017 Switch MATLAB tests to use Solution
Instead of deprecated importPhase
2017-01-12 13:43:39 -05:00

13 lines
278 B
Matlab

function test_suite = testImport
initTestSuite;
function testImportXML
gas = Solution('gri30.xml', 'gri30_mix');
dkm = mixDiffCoeffs(gas);
assertEqual(length(dkm), nSpecies(gas))
function testImportCTI
gas = Solution('h2o2.cti');
assertEqual(temperature(gas), 300)
cleanup()