catala/tests/test_dec/good/infinite_precision.catala_en
Louis Gesbert 2e5050481d Register all existing tests through the new engine
I removed the '.out' extension for now to preserve the test output file names and avoid a million file renames.

This makes the patch easier to read, and we can do the rename easily in another patch afterwards, without mixing with semantic changes.

(beautiful script àlarrache:
```bash
for f in */*/output/*; do
  target_base=${f##*/}
  target_base=${target_base%%.*}
  echo $f | awk -F. '{
    f=$1"."$2; if ($4 == "") { mode=$3; id=$3 } else { scope="-s "$3; mode=$4; id=$3"."$4}
    printf "\n```catala-test {id=\"%s\"}\ncatala %s %s\n```\n",id,mode,scope;
  }' >> $(dirname $f)/../${target_base}.*; done
```
2022-07-08 17:06:20 +02:00

20 lines
478 B
Plaintext

## Article
```catala
declaration scope A:
context output x content decimal
context output y content decimal
context output z content decimal
context output a content decimal
scope A:
definition x equals 84.64866565265689623
definition y equals -. 4.36829778705320654980
definition z equals 654265429805103220650980650.5705405106540
definition a equals x /. (y *. (x +. y) *. (x *. x *. z *. z))
```
```catala-test {id="A.Interpret"}
catala Interpret -s A
```