mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[MATLAB] Moved constants to immutable properties
for unit tests
This commit is contained in:
parent
8c0f9bca23
commit
687236838a
@ -2,6 +2,9 @@ classdef ctTestKinetics < matlab.unittest.TestCase
|
||||
|
||||
properties
|
||||
phase
|
||||
end
|
||||
|
||||
properties (SetAccess = immutable)
|
||||
rtol = 1e-6;
|
||||
atol = 1e-8;
|
||||
end
|
||||
|
@ -2,6 +2,9 @@ classdef ctTestThermo < matlab.unittest.TestCase
|
||||
|
||||
properties
|
||||
phase
|
||||
end
|
||||
|
||||
properties (SetAccess = immutable)
|
||||
rtol = 1e-6;
|
||||
atol = 1e-8;
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user