test now takes boolean inputs
This commit is contained in:
parent
ffed1e775f
commit
9adf95ad97
2 changed files with 4 additions and 5 deletions
|
@ -19,8 +19,8 @@
|
|||
{
|
||||
"input": {
|
||||
"values": [
|
||||
"0",
|
||||
"1"
|
||||
"1",
|
||||
"0"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue