catala/tests/test_dec/good/simple.catala_en
Louis Gesbert 71bb67163c Remove explicitely typed operators in tests and examples
Command used: `sed -i 's/\([-+*/><=]=\?\)[.$@^€$]/\1/g' **/*/*.catala_*`

The overload test, of course, is kept unchanged and ensures that explicit
operators still work.
2022-12-13 12:00:04 +01:00

22 lines
431 B
Plaintext

## Article
```catala
declaration scope A:
context output x content decimal
context output y content decimal
context output z content decimal
scope A:
definition x equals 84.648665
definition y equals 4.368297
definition z equals x / y
```
```catala-test-inline
$ catala Interpret -s A
[RESULT] Computation successful! Results:
[RESULT] x = 84.648665
[RESULT] y = 4.368297
[RESULT] z = 19.37795552820698775747…
```