|
@@ -0,0 +1,41 @@
|
|
1
|
+//package io.zipcoder;
|
|
2
|
+//
|
|
3
|
+//
|
|
4
|
+//import org.junit.Assert;
|
|
5
|
+//import org.junit.Before;
|
|
6
|
+//import org.junit.Test;
|
|
7
|
+//
|
|
8
|
+//public class SafeCopierTest {
|
|
9
|
+// String intro;
|
|
10
|
+// @Before
|
|
11
|
+// public void setUp(){
|
|
12
|
+// intro = "It was the best of times,\n" +
|
|
13
|
+// "it was the blurst of times,\n" +
|
|
14
|
+// "it was the age of wisdom,\n" +
|
|
15
|
+// "it was the age of foolishness,\n" +
|
|
16
|
+// "it was the epoch of belief,\n" +
|
|
17
|
+// "it was the epoch of incredulity,\n" +
|
|
18
|
+// "it was the season of Light,\n" +
|
|
19
|
+// "it was the season of Darkness,\n" +
|
|
20
|
+// "it was the spring of hope,\n" +
|
|
21
|
+// "it was the winter of despair,\n" +
|
|
22
|
+// "we had everything before us,\n" +
|
|
23
|
+// "we had nothing before us,\n" +
|
|
24
|
+// "we were all going direct to Heaven,\n" +
|
|
25
|
+// "we were all going direct the other way--\n" +
|
|
26
|
+// "in short, the period was so far like the present period, that some of\n" +
|
|
27
|
+// "its noisiest authorities insisted on its being received, for good or for\n" +
|
|
28
|
+// "evil, in the superlative degree of comparison only.";
|
|
29
|
+//
|
|
30
|
+// }
|
|
31
|
+// @Test
|
|
32
|
+// public void safeCopyRunTest(){
|
|
33
|
+// SafeCopier testCopier = new SafeCopier(intro);
|
|
34
|
+// String expected = intro;
|
|
35
|
+// String actual = testCopier.run();
|
|
36
|
+//
|
|
37
|
+// Assert.assertEquals(expected,actual);
|
|
38
|
+//
|
|
39
|
+// }
|
|
40
|
+// YAY learned to make test directory!
|
|
41
|
+//}
|