diff options
| author | 2024-06-05 04:06:00 +0800 | |
|---|---|---|
| committer | 2024-06-05 04:06:00 +0800 | |
| commit | 09413f06949b421a1c5b0cc05d70d84b184d3397 (patch) | |
| tree | 7b74bdafac7fb420d73137683209ba7d46acdda2 /tests/test_corelib.py | |
| parent | 28a7b2ecd90e7e67427682a99b8616e13042b4ab (diff) | |
| download | HydroRollCore-09413f06949b421a1c5b0cc05d70d84b184d3397.tar.gz HydroRollCore-09413f06949b421a1c5b0cc05d70d84b184d3397.zip | |
feat(rust): wrap_pyfunction "process_rule_pack" in libcore module
Diffstat (limited to 'tests/test_corelib.py')
| -rw-r--r-- | tests/test_corelib.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/test_corelib.py b/tests/test_corelib.py index aa402cd..a0a3424 100644 --- a/tests/test_corelib.py +++ b/tests/test_corelib.py @@ -1,4 +1,11 @@ from hydro_roll_core import libcore -cb = libcore() -cb.sum_as_string(1, 2)
\ No newline at end of file +cb = libcore + +def main(): + rule_pack = "example_rule_pack" + result = cb.process_rule_pack(rule_pack) + print(result) + +if __name__ == "__main__": + main()
\ No newline at end of file |
