C内核流量计算方法优化,前端文件名称读取优化
This commit is contained in:
1 parent
5d5a2e1843
commit
808c484f5b
94 files changed
+20163
-4418
No files matched your search
@@ -29,7 +29,7 @@ sys.meta_path.insert(0, NoNumericalPython())
|
||||
from app.main import compile_system_xml_network
|
||||
from app.simulation.native_codegen.compiler import compile_native_program
|
||||
from app.system_xml import validate_system_xml_document
|
||||
doc = validate_system_xml_document(Path('tests/data/native-skill-test.xml').read_bytes()).document
|
||||
doc = validate_system_xml_document(Path('tests/fixtures/native-skill-test.xml').read_bytes()).document
|
||||
program = compile_native_program(compile_system_xml_network(doc))
|
||||
assert len(program.state_keys) == 12
|
||||
assert len(program.variables) == 175
|
||||
|
||||
Reference in new issue
Block a user