Create tests for first lib-component: overview; Fixes #1
All checks were successful
CI/CD Pipeline / test (push) Successful in 40s

This commit is contained in:
2024-02-05 11:36:06 +01:00
parent ac8c7cd29a
commit 0763a0fb42
35 changed files with 2365 additions and 0 deletions

View File

@ -1,5 +1,13 @@
RISolve
# Folder
- ./data
- cache -> cache for `overview` tests
# Tests
- Getting paragraphs from `law_id` (`risparser::overview::test::parse()`)
- Create files for specific expected law texts in `./data/expected/overview` (then run tests to get current output)
# Features (to be moved to lib.rs one-by-one)
- Text to structured law
- `LawBuilder`: Structure law, by specifying (sub-)sections (`new_header`), its description (`new_desc`), paragraphs under the current (sub-)section (`new_par`), and the description of the next paragraph (`new_next_para_header`). `Classifier` need to be set.