|
@@ -99,6 +99,29 @@ public class MainTest {
|
99
|
99
|
"\n" +
|
100
|
100
|
"Errors \t \t seen: 4 times\n";
|
101
|
101
|
|
|
102
|
+ String maybe = "name: Milk seen: 6 times\n" +
|
|
103
|
+ "============= =============\n" +
|
|
104
|
+ "Price: 3.23 seen: 5 times\n" +
|
|
105
|
+ "------------- -------------\n" +
|
|
106
|
+ "Price: 1.23 seen: 1 time\n" +
|
|
107
|
+ "\n" +
|
|
108
|
+ "name: Bread seen: 6 times\n" +
|
|
109
|
+ "============= =============\n" +
|
|
110
|
+ "Price: 1.23 seen: 6 times\n" +
|
|
111
|
+ "------------- -------------\n" +
|
|
112
|
+ "\n" +
|
|
113
|
+ "name: Cookies seen: 8 times\n" +
|
|
114
|
+ "============= =============\n" +
|
|
115
|
+ "Price: 2.25 seen: 8 times\n" +
|
|
116
|
+ "------------- -------------\n" +
|
|
117
|
+ "\n" +
|
|
118
|
+ "name: Apples seen: 4 times\n" +
|
|
119
|
+ "============= =============\n" +
|
|
120
|
+ "Price: 0.25 seen: 2 times\n" +
|
|
121
|
+ "------------- -------------\n" +
|
|
122
|
+ "Price: 0.23 seen: 2 times\n" +
|
|
123
|
+ "\n" +
|
|
124
|
+ "Errors seen: 4 times";
|
102
|
125
|
String actual = mainTest.readRawDataToString("RawData.txt");
|
103
|
126
|
|
104
|
127
|
|
|
@@ -182,6 +205,7 @@ public class MainTest {
|
182
|
205
|
"\n" +
|
183
|
206
|
"Errors seen: 5 times\n";
|
184
|
207
|
String actual = mainTest.readRawDataToString("TestData.txt");
|
|
208
|
+ System.out.println(actual);
|
185
|
209
|
Assert.assertEquals(expected, actual);
|
186
|
210
|
|
187
|
211
|
}
|