1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

test now takes boolean inputs

This commit is contained in:
Paul E 2019-10-17 14:10:16 +02:00
parent ffed1e775f
commit 9adf95ad97
2 changed files with 4 additions and 5 deletions

View file

@ -19,8 +19,8 @@
{
"input": {
"values": [
"0",
"1"
"1",
"0"
]
},
"output": {

View file

@ -1,3 +1,2 @@
def main(field a, field b) -> (field):
field out = if (a == 1) == (b == 1) then 1 else 0 fi
return out
def main(bool a, bool b) -> (bool):
return a == b