We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fa7b49 commit 00a5fdcCopy full SHA for 00a5fdc
1 file changed
core/src/test/java/fj/OrderingTest.java
@@ -0,0 +1,21 @@
1
+package fj;
2
+
3
+import org.hamcrest.Matcher;
4
+import org.hamcrest.core.Is;
5
+import org.junit.Test;
6
7
+import static fj.Ordering.EQ;
8
+import static fj.Ordering.GT;
9
+import static fj.Ordering.LT;
10
+import static org.hamcrest.core.Is.is;
11
+import static org.junit.Assert.*;
12
13
+public class OrderingTest {
14
15
+ @Test
16
+ public void reverse() throws Exception {
17
+ assertThat(GT.reverse(), is(LT));
18
+ assertThat(LT.reverse(), is(GT));
19
+ assertThat(EQ.reverse(), is(EQ));
20
+ }
21
+}
0 commit comments