Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add reverse case for tuple comparison op test
  • Loading branch information
christabella committed Jan 12, 2021
commit 6d4dec7ef5955f2edba5fac68f50cd9e010cef11
6 changes: 6 additions & 0 deletions src/embed_tests/TestOperator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,12 @@ public void TupleComparisonOperatorOverloads()

c = a <= b
assert c == (a.Num <= b[0])

c = b >= a
assert c == (b[0] >= a.Num)

c = b <= a
assert c == (b[0] <= a.Num)
");
}

Expand Down