We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01097c5 commit 5d7c477Copy full SHA for 5d7c477
tehreer-android/src/test/java/com/mta/tehreer/graphics/TypeSlopeTest.java
@@ -18,15 +18,13 @@
18
19
import org.junit.Test;
20
21
-import static org.hamcrest.core.Is.is;
22
-import static org.junit.Assert.assertThat;
+import static org.junit.Assert.assertEquals;
23
24
public class TypeSlopeTest {
25
-
26
@Test
27
public void testOrdinals() {
28
- assertThat(TypeSlope.PLAIN.ordinal(), is(0));
29
- assertThat(TypeSlope.ITALIC.ordinal(), is(1));
30
- assertThat(TypeSlope.OBLIQUE.ordinal(), is(2));
+ assertEquals(TypeSlope.PLAIN.ordinal(), 0);
+ assertEquals(TypeSlope.ITALIC.ordinal(), 1);
+ assertEquals(TypeSlope.OBLIQUE.ordinal(), 2);
31
}
32
0 commit comments