Louis Gesbert
|
0ab7a0f9ce
|
Turn all existing tests to inline tests
Done using
```bash
process() { FILE=$1; awk 'match($0, /^```catala-test *{ *id *= *"(.*)" *}/, a) {print "```catala-test-inline"; f="'"$(dirname $FILE)/output/$(basename $FILE)"'." a[1]; getline; print "$ " $0; while ((getline<f) > 0) print; next} {print}' $FILE >$FILE.new; mv $FILE.new $FILE; }
for f in tests/test_*/*/*.catala_* examples/**/*.catala_*; do process $f; git add $f; done
for d in $(find -name output -type d); do git rm -r $d; done
```
|
2022-09-23 14:45:10 +02:00 |
|
Louis Gesbert
|
1d268a940b
|
Add tests for the examples as well
|
2022-07-08 17:18:58 +02:00 |
|
Denis Merigoux
|
1c4a0bdd5d
|
Updated all examples with input/output decorations [skip ci]
|
2022-02-07 18:18:23 +01:00 |
|
Denis Merigoux
|
a963a01f60
|
Unit tests for examples now use clerk
|
2022-01-11 10:42:12 +01:00 |
|
Emile Rolley
|
9aaa614410
|
refactor(parser): add the new catala-metadata markup
|
2021-10-01 10:01:25 +02:00 |
|
Denis Merigoux
|
df01733bbd
|
Typecheck and fix the inheritance tax example
|
2021-05-31 16:59:43 +02:00 |
|
Denis Merigoux
|
32aa818249
|
Beginning of succession law
|
2021-05-31 16:26:41 +02:00 |
|