Parent Directory
|
Revision Log
Added suppression of 'unexpected char' (scanner) and 'generic' (parser) errors. Removed 'DIFF' stuff from parser and scanner. (It's still in expr_types.h and elsewhere) Added test case to detect this scanner problem.
1 | import unittest |
2 | |
3 | class AscendTest(unittest.TestCase): |
4 | |
5 | def testloading(self): |
6 | import ascpy |
7 | |
8 | def testsystema4l(self): |
9 | import ascpy |
10 | L = ascpy.Library() |
11 | L.load('simpleflowsheet01.a4c') |
12 | S = L.getType('test_controller').getSimulation('mysim') |
13 | print "LOADED test_controller" |
14 | |
15 | if __name__=='__main__': |
16 | unittest.main() |
17 |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |