Update tests for entrypoints

This commit is contained in:
Ulf Norell
2019-06-27 14:16:33 +02:00
parent 85408a12a2
commit 6a59e455ce
51 changed files with 465 additions and 446 deletions
+2 -2
View File
@@ -13,9 +13,9 @@ namespace List =
contract Deadcode =
function inc1(xs : list(int)) : list(int) =
entrypoint inc1(xs : list(int)) : list(int) =
List.map1((x) => x + 1, xs)
function inc2(xs : list(int)) : list(int) =
entrypoint inc2(xs : list(int)) : list(int) =
List.map2((x) => x + 1, xs)