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 9950d9e commit 0613eb9Copy full SHA for 0613eb9
core/src/test/java/fj/ShowTest.java
@@ -0,0 +1,25 @@
1
+package fj;
2
+
3
+import fj.data.Array;
4
+import org.junit.Test;
5
6
+import static fj.data.Array.array;
7
+import static org.junit.Assert.assertTrue;
8
9
+/**
10
+ * Created by MarkPerry on 4/06/2015.
11
+ */
12
+public class ShowTest {
13
14
15
16
+ @Test
17
+ public void arrayShow() {
18
+ Array<Integer> a = array(3, 5, 7);
19
+ String s = Show.arrayShow(Show.intShow).showS(a);
20
+ System.out.println(s);
21
+ assertTrue(s.equals("Array(3,5,7)"));
22
23
+ }
24
25
+}
0 commit comments