Skip to content

Commit

Permalink
added extra test for xor
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Sep 15, 2022
1 parent 97a672d commit 1817be4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ fun F.foo2() {
return false
}
}

fun F.foo3() {
if (!(this.valueParameters[i].getFunctionName() xor other.valueParameters[i].getFunctionName()) || !(this.valueParameters[i].getFunctionType() xor other.valueParameters[i].getFunctionType())
) {
return false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ fun F.foo2() {
return false
}
}

fun F.foo3() {
if (!(this.valueParameters[i].getFunctionName() xor other.valueParameters[i].getFunctionName() &&
this.valueParameters[i].getFunctionType() xor other.valueParameters[i].getFunctionType())
) {
return false
}
}

0 comments on commit 1817be4

Please sign in to comment.