Ray Speth
9631f44d29
[Python] Fixed some more incompatibilities with Python 2.6
2013-05-24 20:14:14 +00:00
Ray Speth
7430e11aa5
[Test] Fixed regression in Python 2.6 support
...
Support for the implcit handling of positional arguments with "{}" isn't
available until Python 2.7.
2013-05-24 17:47:24 +00:00
Ray Speth
ad2baad993
[Reactor/Test] Added a regression test for reactor surface chemistry
2013-05-23 19:32:31 +00:00
Ray Speth
5d353c1ad4
[Test] Improved messages generated by chemkinConverterTest
2013-04-24 21:47:10 +00:00
Ray Speth
dc279dcbab
[Test] Ensure that the local Python module is the one being imported
...
Explicitly set 'interfaces/python' as the first entry in sys.path, rather
than reyling on the PYTHONPATH environment variable, which is sometimes
superseded, e.g. by virtualenv.
2013-04-24 21:47:04 +00:00
Ray Speth
7da738d238
Re-applied consistent formatting to trunk
...
Applied using: astyle -n --style=kr --add-brackets --indent=spaces=4
--indent-col1-comments --unpad-paren --pad-header --align-pointer=type
--lineend=linux
2013-02-07 23:40:59 +00:00
Ray Speth
40d190cd89
[Test/Cython/1D] Added a test for counterflow diffusion flames
2013-01-17 15:30:50 +00:00
Ray Speth
8e7e81570a
[SCons] Always re-run explicitly named tests
2013-01-11 22:56:40 +00:00
Ray Speth
183af676d5
[ck2cti] Added support for the UNITS keyword
2013-01-11 22:56:25 +00:00
Ray Speth
da67bc122c
[Test] Refactored to eliminate repeated code in ck2cti tests
2013-01-11 22:56:19 +00:00
Ray Speth
8ae3ca5a17
[ck2cti] Refactored to add class Parser and remove global variables
2013-01-11 22:56:16 +00:00
Ray Speth
60d44997e0
[ck2cti] Added '--permissive' flag to ignore certain errors
2013-01-11 22:56:12 +00:00
Ray Speth
994acf84ea
[ck2cti] Added ability to convert falloff reactions with explicit third bodies
...
For reactions written as: R1+R2(+S1)=P1(+S1), the implication is that
the third-body efficiencies for all colliders besides S1 are zero.
2013-01-11 22:56:05 +00:00
Ray Speth
ecb6c75cc8
[Test] Added outline for tests of ThermoPhase constructors
2013-01-11 22:55:56 +00:00
Ray Speth
04fb86b1ea
Added a new SCons configuration variable 'warning_flags'
...
This allows use of more extensive warning settings for the code that's actually
part of Cantera without generating excessive warnings on code automatically
generated code (e.g. f2c) or code that isn't part of Cantera proper (e.g. gtest,
libexecstream).
2012-11-14 21:07:03 +00:00
Ray Speth
f82c6e50c7
SCons runs the unit tests for the Cython module
2012-09-06 19:58:32 +00:00
Ray Speth
ea16489a82
Added data files needed for transport import tests
2012-08-29 22:32:47 +00:00
Ray Speth
c0f2734719
Added tests for converting chemkin-format transport data with ck2cti.py
...
Includes tests that check to make sure the converter detects duplicate and
missing species.
2012-08-29 18:30:58 +00:00
Ray Speth
01a9bdcf58
Fixed handling of explicit reaction orders for some reactions
...
For reactions with unity reactant stoichiometric coefficients, explicit values
for the forward reaction order were being ignored while setting up the
StoichManager.
Added a few tests that confirm that these rates are being calculated correctly.
2012-08-17 16:43:13 +00:00
Ray Speth
f23c4fa940
Added a test for handling of explicit reaction orders in Chemkin input files
2012-08-17 16:43:02 +00:00
Ray Speth
7a327abb16
Added test for handling of explicit reverse rate constants in Chemkin input files
2012-08-17 16:42:53 +00:00
Ray Speth
eb9441182d
Added test for converting "SRI" falloff functions from Chemkin input files
2012-08-17 16:42:43 +00:00
Ray Speth
021f66c755
Merge bug fixes from the 2.0 maintenance branch
2012-08-15 15:36:34 +00:00
Ray Speth
c092bbaede
Fixed the order of include and library directories when compiling
...
Include directories in the Cantera source tree should be listed first so that
they take precedence over headers from other installed copies of Cantera that
might end up on the include search path. This was potentially a problem when
Cantera was installed in the same location (e.g. /usr/local) as one of its
dependencies (e.g. Sundials).
The same logic applies to directories on the library link path.
2012-08-10 21:03:06 +00:00
Ray Speth
bcb79d9cd3
Convert .cti files in data/inputs to .xml as part of the buld process
...
The full set of .cti and .xml files to be installed is placed in build/data (for
use by the test suite) and copied to the CANTERA_DATA folder on installation.
2012-08-02 15:47:45 +00:00
Ray Speth
4e0fea7079
Added a test for converting Chebyshev and P-log reactions with ck2cti.py
2012-07-26 20:50:23 +00:00
Ray Speth
7472136e44
Converter tests now check some kinetics parameters
2012-07-26 20:49:33 +00:00
Ray Speth
9801b03a50
Moved nasa9_reader test to Python
2012-07-26 20:49:26 +00:00
Ray Speth
13e188381d
Moved ck2cti tests to the Python test suite
2012-07-26 20:49:18 +00:00
Ray Speth
97acc868fb
Added a test where an unbalanced reaction is detected
2012-07-26 20:49:14 +00:00
Ray Speth
db57f3a200
Added test to confirm that ck2cti.py detects missing thermo data
2012-07-26 20:49:06 +00:00
Ray Speth
0e21bfd0e0
Introduced a test suite for Chemkin-format mechanism conversions
2012-07-26 20:49:01 +00:00
Ray Speth
5c041b51cf
ck2cti.py now checks for undefined elements
2012-07-26 20:48:49 +00:00
Ray Speth
824a364af8
Regenerated some blessed test output to reflect updated physical constants
2012-06-12 22:48:46 +00:00
Ray Speth
d645eaf418
Aggregate all test results into the summary printed after 'scons test'
...
In addition, if any of the Python, Matlab, or gtest tests fail, the test
process will not be aborted. SCons will still exit with a non-zero status.
2012-05-31 14:58:07 +00:00
Ray Speth
16da33ad42
Fixed compiler warnings in the test suite
2012-05-25 23:13:30 +00:00
Ray Speth
15b12608e3
Corrected labels on output from compareTimeSeries
2012-05-24 16:30:10 +00:00
Ray Speth
761c2589e3
Added a test for reactors with wall interactions
2012-05-24 16:29:23 +00:00
Ray Speth
c7af9ddf81
Improved convergence when solving for pure fluid saturated states
2012-05-11 15:27:33 +00:00
Ray Speth
ea589078f5
Added tests for pure fluid equations of state
...
The tests include basic consistency requirements as well as
comparisons to reference data where possible.
2012-05-07 18:20:11 +00:00
Ray Speth
e2d2ba4e3d
Added 'assertNear' for comparing floats in Python unit tests
...
This method compares floats using combined absolute and relative tolerances,
instead of the "number of decimal digits" that TestCase.assertAlmostEqual uses.
2012-05-07 18:20:08 +00:00
Ray Speth
6803cab965
Added missing data for equilibrium tests
2012-04-16 20:59:54 +00:00
Ray Speth
a42199f62a
Added tests for overconstrained equilibrium problems
2012-04-12 21:35:40 +00:00
Ray Speth
b58ba638be
Added some tests for the equilibrium solvers
2012-04-12 21:35:36 +00:00
Ray Speth
e99bd87586
Fixed SCons aliases for Python and Matlab unit tests
2012-04-12 21:35:32 +00:00
Ray Speth
16390cc547
All tests now run using "scons test"
...
The "newtest" target has been removed. Python and Matlab unit tests
can be run with "scons test-python" and "scons test-matlab",
respectively.
2012-04-12 15:28:33 +00:00
Ray Speth
7bfd094eaf
Implemented Chebyshev rate expressions
2012-03-30 23:48:25 +00:00
Ray Speth
64ccd58680
Added a kinetics test suite with tests for P-log reactions
...
Added a sample mechanism file containing P-log and Chebyshev reactions.
2012-03-30 23:47:58 +00:00
Ray Speth
9be5c325f1
Added a Python reactor network test
2012-03-30 23:46:19 +00:00
Ray Speth
9124b361dc
Added a few basic thermo tests to the Matlab unit tests
2012-03-23 22:16:28 +00:00