1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/function definition.ans
2023-12-28 17:03:54 +01:00

21 lines
150 B
Text

:f = $(x)x*x
:$g(x)
@x*x
|{f(5)} = {g(5)}
|{f(2)} = {g(2)}
:y = 5
:h = $(x)x*x+y
| {h(3)} == 14
y = 7
| {h(5)} == 32
:i = $y*y
| {i!} == 49