fix test
This commit is contained in:
parent
ec89b27cd2
commit
1f97577290
2 changed files with 11 additions and 1 deletions
|
@ -2,5 +2,15 @@
|
|||
"entry_point": "./tests/tests/memoize/memoize.zok",
|
||||
"max_constraint_count": 14,
|
||||
"tests": [
|
||||
{
|
||||
"input": {
|
||||
"values": ["3"]
|
||||
},
|
||||
"output": {
|
||||
"Ok": {
|
||||
"values": []
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -9,6 +9,6 @@ def main(field a) -> ():
|
|||
local(a) + local(a) + local(a) + local(a) + local(a) == 5 * (a ** 8)
|
||||
|
||||
// calling an imported function many times with the same arg should cost only once
|
||||
dep(a) + dep(a) + dep(a) + dep(a) + dep(a) == 4 * (a ** 4)
|
||||
dep(a) + dep(a) + dep(a) + dep(a) + dep(a) == 5 * (a ** 4)
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue