219 |
|
|
220 |
|
|
221 |
class TestCMSlv(AscendSelfTester): |
class TestCMSlv(AscendSelfTester): |
222 |
|
def testsonic(self): |
223 |
|
M = self._run('sonic',"CMSlv","sonic.a4c") |
224 |
|
assert(M.sonic_flow.getBoolValue()) |
225 |
|
|
226 |
|
# other side of boundary... |
227 |
|
M.D.setRealValueWithUnits(4.,"cm") |
228 |
|
T = self.L.findType('sonic') |
229 |
|
M.solve(ascpy.Solver('CMSlv'),ascpy.SolverReporter()) |
230 |
|
M.run(T.getMethod('self_test')) |
231 |
|
assert(not M.sonic_flow.getBoolValue()) |
232 |
|
|
233 |
def testheatex(self): |
def testheatex(self): |
234 |
self._run('heatex',"CMSlv","heatex.a4c") |
self._run('heatex',"CMSlv","heatex.a4c") |
235 |
def testphaseeq(self): |
def testphaseeq(self): |