|
@@ -16,22 +16,22 @@ public class MyArrayListTest {
|
16
|
16
|
}
|
17
|
17
|
|
18
|
18
|
|
19
|
|
- @Test
|
20
|
|
- public void test(){
|
21
|
|
- Integer[] i = new Integer[0];
|
22
|
|
- System.out.println(i.getClass());
|
23
|
|
-
|
24
|
|
- Object[] objects = new Object[0];
|
25
|
|
- System.out.println(objects.getClass());
|
26
|
|
-
|
27
|
|
- populateArray();
|
28
|
|
- System.out.println(testArray.get(0).getClass());
|
29
|
|
-
|
30
|
|
- MyArrayList<String> testStringArray = new MyArrayList<>();
|
31
|
|
- testStringArray.add("Meow");
|
32
|
|
- System.out.println(testStringArray.get(0).getClass());
|
33
|
|
- // System.out.println(testStringArray.getOriginalArray()[0]);
|
34
|
|
- }
|
|
19
|
+// @Test
|
|
20
|
+// public void test(){
|
|
21
|
+// Integer[] i = new Integer[0];
|
|
22
|
+// System.out.println(i.getClass());
|
|
23
|
+//
|
|
24
|
+// Object[] objects = new Object[0];
|
|
25
|
+// System.out.println(objects.getClass());
|
|
26
|
+//
|
|
27
|
+// populateArray();
|
|
28
|
+// System.out.println(testArray.get(0).getClass());
|
|
29
|
+//
|
|
30
|
+// MyArrayList<String> testStringArray = new MyArrayList<>();
|
|
31
|
+// testStringArray.add("Meow");
|
|
32
|
+// System.out.println(testStringArray.get(0).getClass());
|
|
33
|
+// // System.out.println(testStringArray.getOriginalArray()[0]);
|
|
34
|
+// }
|
35
|
35
|
|
36
|
36
|
@Test
|
37
|
37
|
public void initiateSizeOnConstruction() {
|