2014-01-05 20:27:12 +00:00
|
|
|
IO.print(Num == Num) // expect: true
|
|
|
|
|
IO.print(Num == Bool) // expect: false
|
2013-11-26 15:52:37 +00:00
|
|
|
|
|
|
|
|
// Not equal to other types.
|
2014-01-05 20:27:12 +00:00
|
|
|
IO.print(Num == 123) // expect: false
|
|
|
|
|
IO.print(Num == true) // expect: false
|
2013-11-26 15:52:37 +00:00
|
|
|
|
2014-01-05 20:27:12 +00:00
|
|
|
IO.print(Num != Num) // expect: false
|
|
|
|
|
IO.print(Num != Bool) // expect: true
|
2013-11-26 15:52:37 +00:00
|
|
|
|
|
|
|
|
// Not equal to other types.
|
2014-01-05 20:27:12 +00:00
|
|
|
IO.print(Num != 123) // expect: true
|
|
|
|
|
IO.print(Num != true) // expect: true
|