We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9caf38c commit d71e2a2Copy full SHA for d71e2a2
1 file changed
tests/GeneratedOpTests.fs
@@ -1121,3 +1121,15 @@ let ``bitwise not execute correctly``() =
1121
checkExpr <@ ~~~1234us @>
1122
checkExpr <@ ~~~12uy @>
1123
]
1124
+
1125
+[<Fact>]
1126
+let ``equality on enums``() =
1127
+ testProvidedAssembly
1128
+ [
1129
+ check <@ DateTimeKind.Utc = DateTimeKind.Local @> false
1130
+ check <@ DateTimeKind.Utc <> DateTimeKind.Local @> true
1131
+ check <@ DateTimeKind.Utc < DateTimeKind.Local @> true
1132
+ check <@ DateTimeKind.Utc <= DateTimeKind.Local @> true
1133
+ check <@ DateTimeKind.Utc > DateTimeKind.Local @> false
1134
+ check <@ DateTimeKind.Utc >= DateTimeKind.Local @> false
1135
+ ]
0 commit comments