Procházet zdrojové kódy

completed lab -- HALLELUJAH

Christian Sheridan před 6 roky
rodič
revize
f0e2a56396

+ 3
- 3
.idea/compiler.xml Zobrazit soubor

@@ -6,11 +6,11 @@
6 6
         <sourceOutputDir name="target/generated-sources/annotations" />
7 7
         <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8 8
         <outputRelativeToContentRoot value="true" />
9
-        <module name="CR-MesoLabs-Collections-SinglyLinkedList" />
9
+        <module name="singlylinkedlist" />
10 10
       </profile>
11 11
     </annotationProcessing>
12
-    <bytecodeTargetLevel target="1.8">
13
-      <module name="CR-MesoLabs-Collections-SinglyLinkedList" target="1.5" />
12
+    <bytecodeTargetLevel>
13
+      <module name="singlylinkedlist" target="1.5" />
14 14
     </bytecodeTargetLevel>
15 15
   </component>
16 16
 </project>

+ 13
- 0
.idea/libraries/Maven__junit_junit_4_12.xml Zobrazit soubor

@@ -0,0 +1,13 @@
1
+<component name="libraryTable">
2
+  <library name="Maven: junit:junit:4.12">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 13
- 0
.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml Zobrazit soubor

@@ -0,0 +1,13 @@
1
+<component name="libraryTable">
2
+  <library name="Maven: org.hamcrest:hamcrest-core:1.3">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 1
- 78
.idea/misc.xml Zobrazit soubor

@@ -7,84 +7,7 @@
7 7
       </list>
8 8
     </option>
9 9
   </component>
10
-  <component name="ProjectInspectionProfilesVisibleTreeState">
11
-    <entry key="Project Default">
12
-      <profile-state>
13
-        <expanded-state>
14
-          <State>
15
-            <id />
16
-          </State>
17
-        </expanded-state>
18
-        <selected-state>
19
-          <State>
20
-            <id>Android</id>
21
-          </State>
22
-        </selected-state>
23
-      </profile-state>
24
-    </entry>
25
-  </component>
26 10
   <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
27
-    <output url="file://$PROJECT_DIR$/out" />
28
-  </component>
29
-  <component name="masterDetails">
30
-    <states>
31
-      <state key="GlobalLibrariesConfigurable.UI">
32
-        <settings>
33
-          <splitter-proportions>
34
-            <option name="proportions">
35
-              <list>
36
-                <option value="0.2" />
37
-              </list>
38
-            </option>
39
-          </splitter-proportions>
40
-        </settings>
41
-      </state>
42
-      <state key="JdkListConfigurable.UI">
43
-        <settings>
44
-          <last-edited>1.8</last-edited>
45
-          <splitter-proportions>
46
-            <option name="proportions">
47
-              <list>
48
-                <option value="0.2" />
49
-              </list>
50
-            </option>
51
-          </splitter-proportions>
52
-        </settings>
53
-      </state>
54
-      <state key="ProjectJDKs.UI">
55
-        <settings>
56
-          <last-edited>1.8</last-edited>
57
-          <splitter-proportions>
58
-            <option name="proportions">
59
-              <list>
60
-                <option value="0.2" />
61
-              </list>
62
-            </option>
63
-          </splitter-proportions>
64
-        </settings>
65
-      </state>
66
-      <state key="ProjectLibrariesConfigurable.UI">
67
-        <settings>
68
-          <splitter-proportions>
69
-            <option name="proportions">
70
-              <list>
71
-                <option value="0.2" />
72
-              </list>
73
-            </option>
74
-          </splitter-proportions>
75
-        </settings>
76
-      </state>
77
-      <state key="ScopeChooserConfigurable.UI">
78
-        <settings>
79
-          <splitter-proportions>
80
-            <option name="proportions">
81
-              <list>
82
-                <option value="0.2" />
83
-              </list>
84
-            </option>
85
-          </splitter-proportions>
86
-        </settings>
87
-      </state>
88
-    </states>
11
+    <output url="file://$PROJECT_DIR$/classes" />
89 12
   </component>
90 13
 </project>

+ 1
- 1
.idea/modules.xml Zobrazit soubor

@@ -2,7 +2,7 @@
2 2
 <project version="4">
3 3
   <component name="ProjectModuleManager">
4 4
     <modules>
5
-      <module fileurl="file://$PROJECT_DIR$/CR-MesoLabs-Collections-SinglyLinkedList.iml" filepath="$PROJECT_DIR$/CR-MesoLabs-Collections-SinglyLinkedList.iml" />
5
+      <module fileurl="file://$PROJECT_DIR$/singlylinkedlist.iml" filepath="$PROJECT_DIR$/singlylinkedlist.iml" />
6 6
     </modules>
7 7
   </component>
8 8
 </project>

+ 1
- 1
.idea/vcs.xml Zobrazit soubor

@@ -1,6 +1,6 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <project version="4">
3 3
   <component name="VcsDirectoryMappings">
4
-    <mapping directory="" vcs="Git" />
4
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
5 5
   </component>
6 6
 </project>

+ 372
- 480
.idea/workspace.xml Zobrazit soubor

@@ -1,222 +1,223 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4
-    <list default="true" id="4f0c6f35-1ac5-49ea-b41e-20445c07c5c6" name="Default" comment="">
5
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
4
+    <list default="true" id="c869a1b7-852a-41a8-8bfd-c257a81bd65d" name="Default Changelist" comment="">
5
+      <change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
7
+      <change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/.idea/vcs.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/MainApplication.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/MainApplication.java" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/SinglyLinkedList.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedList.java" afterDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/singlylinkedlist/SinglyLinkedListTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedListTest.java" afterDir="false" />
6 14
     </list>
7
-    <ignored path="$PROJECT_DIR$/out/" />
8 15
     <ignored path="$PROJECT_DIR$/target/" />
9 16
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
-    <option name="TRACKING_ENABLED" value="true" />
11 17
     <option name="SHOW_DIALOG" value="false" />
12 18
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
13 19
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
14 20
     <option name="LAST_RESOLUTION" value="IGNORE" />
15 21
   </component>
16
-  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
17
-  <component name="FileEditorManager">
18
-    <leaf>
19
-      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
20
-        <entry file="file://$PROJECT_DIR$/pom.xml">
21
-          <provider selected="true" editor-type-id="text-editor">
22
-            <state relative-caret-position="0">
23
-              <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
24
-              <folding />
25
-            </state>
26
-          </provider>
27
-        </entry>
28
-      </file>
29
-      <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
30
-        <entry file="file://$PROJECT_DIR$/README.md">
31
-          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
32
-            <state split_layout="SPLIT">
33
-              <first_editor relative-caret-position="0">
34
-                <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
35
-                <folding />
36
-              </first_editor>
37
-              <second_editor />
38
-            </state>
39
-          </provider>
40
-        </entry>
41
-      </file>
42
-      <file leaf-file-name="MainApplication.java" pinned="false" current-in-tab="false">
43
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/MainApplication.java">
44
-          <provider selected="true" editor-type-id="text-editor">
45
-            <state relative-caret-position="75">
46
-              <caret line="5" column="28" lean-forward="false" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" />
47
-              <folding />
48
-            </state>
49
-          </provider>
50
-        </entry>
51
-      </file>
52
-      <file leaf-file-name="SinglyLinkedList.java" pinned="false" current-in-tab="false">
53
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/SinglyLinkedList.java">
54
-          <provider selected="true" editor-type-id="text-editor">
55
-            <state relative-caret-position="75">
56
-              <caret line="5" column="29" lean-forward="false" selection-start-line="5" selection-start-column="29" selection-end-line="5" selection-end-column="29" />
57
-              <folding />
58
-            </state>
59
-          </provider>
60
-        </entry>
61
-      </file>
62
-      <file leaf-file-name="SinglyLinkedListTest.java" pinned="false" current-in-tab="false">
63
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/singlylinkedlist/SinglyLinkedListTest.java">
64
-          <provider selected="true" editor-type-id="text-editor">
65
-            <state relative-caret-position="75">
66
-              <caret line="5" column="33" lean-forward="false" selection-start-line="5" selection-start-column="33" selection-end-line="5" selection-end-column="33" />
67
-              <folding />
68
-            </state>
69
-          </provider>
70
-        </entry>
71
-      </file>
72
-      <file leaf-file-name=".gitignore" pinned="false" current-in-tab="true">
73
-        <entry file="file://$PROJECT_DIR$/.gitignore">
74
-          <provider selected="true" editor-type-id="text-editor">
75
-            <state relative-caret-position="75">
76
-              <caret line="5" column="5" lean-forward="true" selection-start-line="5" selection-start-column="5" selection-end-line="5" selection-end-column="5" />
77
-              <folding />
78
-            </state>
79
-          </provider>
80
-        </entry>
81
-      </file>
82
-    </leaf>
22
+  <component name="FUSProjectUsageTrigger">
23
+    <session id="780602083">
24
+      <usages-collector id="statistics.lifecycle.project">
25
+        <counts>
26
+          <entry key="project.open.time.0" value="1" />
27
+          <entry key="project.opened" value="1" />
28
+        </counts>
29
+      </usages-collector>
30
+      <usages-collector id="statistics.file.extensions.open">
31
+        <counts>
32
+          <entry key="java" value="5" />
33
+          <entry key="xml" value="1" />
34
+        </counts>
35
+      </usages-collector>
36
+      <usages-collector id="statistics.file.types.open">
37
+        <counts>
38
+          <entry key="JAVA" value="5" />
39
+          <entry key="XML" value="1" />
40
+        </counts>
41
+      </usages-collector>
42
+      <usages-collector id="statistics.file.extensions.edit">
43
+        <counts>
44
+          <entry key="java" value="6656" />
45
+        </counts>
46
+      </usages-collector>
47
+      <usages-collector id="statistics.file.types.edit">
48
+        <counts>
49
+          <entry key="JAVA" value="6656" />
50
+        </counts>
51
+      </usages-collector>
52
+      <usages-collector id="statistics.spring.boot.mvc.usages" />
53
+      <usages-collector id="statistics.vcs.git.usages" />
54
+      <usages-collector id="statistics.js.language.service.starts" />
55
+      <usages-collector id="statistics.spring.boot.run.usages" />
56
+    </session>
83 57
   </component>
84
-  <component name="FileTemplateManagerImpl">
85
-    <option name="RECENT_TEMPLATES">
86
-      <list>
87
-        <option value="Class" />
88
-      </list>
89
-    </option>
58
+  <component name="FileEditorManager">
59
+    <splitter split-orientation="horizontal" split-proportion="0.41302136">
60
+      <split-first>
61
+        <leaf>
62
+          <file pinned="false" current-in-tab="false">
63
+            <entry file="file://$PROJECT_DIR$/pom.xml">
64
+              <provider selected="true" editor-type-id="text-editor" />
65
+            </entry>
66
+          </file>
67
+          <file pinned="false" current-in-tab="false">
68
+            <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedListTest.java">
69
+              <provider selected="true" editor-type-id="text-editor">
70
+                <state relative-caret-position="240">
71
+                  <caret line="18" column="8" selection-start-line="18" selection-start-column="8" selection-end-line="18" selection-end-column="8" />
72
+                  <folding>
73
+                    <element signature="imports" expanded="true" />
74
+                  </folding>
75
+                </state>
76
+              </provider>
77
+            </entry>
78
+          </file>
79
+          <file pinned="false" current-in-tab="true">
80
+            <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedList.java">
81
+              <provider selected="true" editor-type-id="text-editor">
82
+                <state relative-caret-position="509">
83
+                  <caret line="151" lean-forward="true" selection-start-line="151" selection-end-line="151" />
84
+                  <folding>
85
+                    <element signature="imports" expanded="true" />
86
+                  </folding>
87
+                </state>
88
+              </provider>
89
+            </entry>
90
+          </file>
91
+        </leaf>
92
+      </split-first>
93
+      <split-second>
94
+        <leaf>
95
+          <file pinned="false" current-in-tab="true">
96
+            <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedListTest.java">
97
+              <provider selected="true" editor-type-id="text-editor">
98
+                <state relative-caret-position="464">
99
+                  <caret line="105" lean-forward="true" selection-start-line="105" selection-end-line="105" />
100
+                  <folding>
101
+                    <element signature="imports" expanded="true" />
102
+                  </folding>
103
+                </state>
104
+              </provider>
105
+            </entry>
106
+          </file>
107
+          <file pinned="false" current-in-tab="false">
108
+            <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/lang/Object.java">
109
+              <provider selected="true" editor-type-id="text-editor">
110
+                <state relative-caret-position="242">
111
+                  <caret line="148" column="19" lean-forward="true" selection-start-line="148" selection-end-line="149" />
112
+                  <folding>
113
+                    <element signature="e#5748#5749#0" expanded="true" />
114
+                    <element signature="e#5784#5785#0" expanded="true" />
115
+                  </folding>
116
+                </state>
117
+              </provider>
118
+            </entry>
119
+          </file>
120
+        </leaf>
121
+      </split-second>
122
+    </splitter>
90 123
   </component>
91 124
   <component name="Git.Settings">
92 125
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
93 126
   </component>
94
-  <component name="GradleLocalSettings">
95
-    <option name="externalProjectsViewState">
96
-      <projects_view />
97
-    </option>
98
-  </component>
99 127
   <component name="IdeDocumentHistory">
100 128
     <option name="CHANGED_PATHS">
101 129
       <list>
102
-        <option value="$PROJECT_DIR$/.gitignore" />
130
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedListTest.java" />
131
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedList.java" />
103 132
       </list>
104 133
     </option>
105 134
   </component>
106
-  <component name="ProjectFrameBounds">
107
-    <option name="y" value="23" />
108
-    <option name="width" value="1920" />
109
-    <option name="height" value="1053" />
135
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
136
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
137
+  <component name="JsGulpfileManager">
138
+    <detection-done>true</detection-done>
139
+    <sorting>DEFINITION_ORDER</sorting>
140
+  </component>
141
+  <component name="ProjectFrameBounds" extendedState="6">
142
+    <option name="x" value="38" />
143
+    <option name="y" value="-996" />
144
+    <option name="width" value="1773" />
145
+    <option name="height" value="982" />
110 146
   </component>
147
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
111 148
   <component name="ProjectView">
112
-    <navigator currentView="ProjectPane" proportions="" version="1">
113
-      <flattenPackages />
114
-      <showMembers />
115
-      <showModules />
116
-      <showLibraryContents />
117
-      <hideEmptyPackages />
118
-      <abbreviatePackageNames />
119
-      <autoscrollToSource />
120
-      <autoscrollFromSource />
121
-      <sortByType />
122
-      <manualOrder />
149
+    <navigator proportions="" version="1">
123 150
       <foldersAlwaysOnTop value="true" />
124 151
     </navigator>
125 152
     <panes>
153
+      <pane id="PackagesPane" />
154
+      <pane id="Scope" />
126 155
       <pane id="ProjectPane">
127 156
         <subPane>
128
-          <PATH>
129
-            <PATH_ELEMENT>
130
-              <option name="myItemId" value="singlylinkedlist" />
131
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
132
-            </PATH_ELEMENT>
133
-            <PATH_ELEMENT>
134
-              <option name="myItemId" value="CR-MesoLabs-Collections-SinglyLinkedList" />
135
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
136
-            </PATH_ELEMENT>
137
-          </PATH>
138
-          <PATH>
139
-            <PATH_ELEMENT>
140
-              <option name="myItemId" value="singlylinkedlist" />
141
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
142
-            </PATH_ELEMENT>
143
-            <PATH_ELEMENT>
144
-              <option name="myItemId" value="CR-MesoLabs-Collections-SinglyLinkedList" />
145
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
146
-            </PATH_ELEMENT>
147
-            <PATH_ELEMENT>
148
-              <option name="myItemId" value="src" />
149
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
150
-            </PATH_ELEMENT>
151
-            <PATH_ELEMENT>
152
-              <option name="myItemId" value="test" />
153
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
154
-            </PATH_ELEMENT>
155
-          </PATH>
156
-          <PATH>
157
-            <PATH_ELEMENT>
158
-              <option name="myItemId" value="singlylinkedlist" />
159
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
160
-            </PATH_ELEMENT>
161
-            <PATH_ELEMENT>
162
-              <option name="myItemId" value="CR-MesoLabs-Collections-SinglyLinkedList" />
163
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
164
-            </PATH_ELEMENT>
165
-            <PATH_ELEMENT>
166
-              <option name="myItemId" value="src" />
167
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
168
-            </PATH_ELEMENT>
169
-            <PATH_ELEMENT>
170
-              <option name="myItemId" value="main" />
171
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
172
-            </PATH_ELEMENT>
173
-          </PATH>
174
-          <PATH>
175
-            <PATH_ELEMENT>
176
-              <option name="myItemId" value="singlylinkedlist" />
177
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
178
-            </PATH_ELEMENT>
179
-            <PATH_ELEMENT>
180
-              <option name="myItemId" value="CR-MesoLabs-Collections-SinglyLinkedList" />
181
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
182
-            </PATH_ELEMENT>
183
-            <PATH_ELEMENT>
184
-              <option name="myItemId" value="src" />
185
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
186
-            </PATH_ELEMENT>
187
-            <PATH_ELEMENT>
188
-              <option name="myItemId" value="main" />
189
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
190
-            </PATH_ELEMENT>
191
-            <PATH_ELEMENT>
192
-              <option name="myItemId" value="java" />
193
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
194
-            </PATH_ELEMENT>
195
-            <PATH_ELEMENT>
196
-              <option name="myItemId" value="com" />
197
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
198
-            </PATH_ELEMENT>
199
-            <PATH_ELEMENT>
200
-              <option name="myItemId" value="zipcodewilmington" />
201
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
202
-            </PATH_ELEMENT>
203
-            <PATH_ELEMENT>
204
-              <option name="myItemId" value="singlylinkedlist" />
205
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
206
-            </PATH_ELEMENT>
207
-          </PATH>
157
+          <expand>
158
+            <path>
159
+              <item name="singlylinkedlist" type="b2602c69:ProjectViewProjectNode" />
160
+              <item name="SinglyLinkedList" type="462c0819:PsiDirectoryNode" />
161
+            </path>
162
+            <path>
163
+              <item name="singlylinkedlist" type="b2602c69:ProjectViewProjectNode" />
164
+              <item name="SinglyLinkedList" type="462c0819:PsiDirectoryNode" />
165
+              <item name="src" type="462c0819:PsiDirectoryNode" />
166
+            </path>
167
+            <path>
168
+              <item name="singlylinkedlist" type="b2602c69:ProjectViewProjectNode" />
169
+              <item name="SinglyLinkedList" type="462c0819:PsiDirectoryNode" />
170
+              <item name="src" type="462c0819:PsiDirectoryNode" />
171
+              <item name="main" type="462c0819:PsiDirectoryNode" />
172
+            </path>
173
+            <path>
174
+              <item name="singlylinkedlist" type="b2602c69:ProjectViewProjectNode" />
175
+              <item name="SinglyLinkedList" type="462c0819:PsiDirectoryNode" />
176
+              <item name="src" type="462c0819:PsiDirectoryNode" />
177
+              <item name="main" type="462c0819:PsiDirectoryNode" />
178
+              <item name="java" type="462c0819:PsiDirectoryNode" />
179
+            </path>
180
+            <path>
181
+              <item name="singlylinkedlist" type="b2602c69:ProjectViewProjectNode" />
182
+              <item name="SinglyLinkedList" type="462c0819:PsiDirectoryNode" />
183
+              <item name="src" type="462c0819:PsiDirectoryNode" />
184
+              <item name="main" type="462c0819:PsiDirectoryNode" />
185
+              <item name="java" type="462c0819:PsiDirectoryNode" />
186
+              <item name="ChristianSheridan" type="462c0819:PsiDirectoryNode" />
187
+            </path>
188
+            <path>
189
+              <item name="singlylinkedlist" type="b2602c69:ProjectViewProjectNode" />
190
+              <item name="SinglyLinkedList" type="462c0819:PsiDirectoryNode" />
191
+              <item name="src" type="462c0819:PsiDirectoryNode" />
192
+              <item name="test" type="462c0819:PsiDirectoryNode" />
193
+            </path>
194
+            <path>
195
+              <item name="singlylinkedlist" type="b2602c69:ProjectViewProjectNode" />
196
+              <item name="SinglyLinkedList" type="462c0819:PsiDirectoryNode" />
197
+              <item name="src" type="462c0819:PsiDirectoryNode" />
198
+              <item name="test" type="462c0819:PsiDirectoryNode" />
199
+              <item name="java" type="462c0819:PsiDirectoryNode" />
200
+            </path>
201
+            <path>
202
+              <item name="singlylinkedlist" type="b2602c69:ProjectViewProjectNode" />
203
+              <item name="SinglyLinkedList" type="462c0819:PsiDirectoryNode" />
204
+              <item name="src" type="462c0819:PsiDirectoryNode" />
205
+              <item name="test" type="462c0819:PsiDirectoryNode" />
206
+              <item name="java" type="462c0819:PsiDirectoryNode" />
207
+              <item name="ChristianSheridan" type="462c0819:PsiDirectoryNode" />
208
+            </path>
209
+          </expand>
210
+          <select />
208 211
         </subPane>
209 212
       </pane>
210
-      <pane id="PackagesPane" />
211
-      <pane id="Scratches" />
212
-      <pane id="Scope" />
213 213
     </panes>
214 214
   </component>
215 215
   <component name="PropertiesComponent">
216
-    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
217
-    <property name="project.structure.last.edited" value="Project" />
218
-    <property name="project.structure.proportion" value="0.0" />
219
-    <property name="project.structure.side.proportion" value="0.2" />
216
+    <property name="WebServerToolWindowFactoryState" value="false" />
217
+    <property name="aspect.path.notification.shown" value="true" />
218
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1541549097537" />
219
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
220
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
220 221
   </component>
221 222
   <component name="RunDashboard">
222 223
     <option name="ruleStates">
@@ -230,334 +231,225 @@
230 231
       </list>
231 232
     </option>
232 233
   </component>
233
-  <component name="RunManager">
234
-    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
235
-      <module name="" />
236
-      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
237
-      <option name="PROGRAM_PARAMETERS" />
238
-      <predefined_log_file id="idea.log" enabled="true" />
239
-      <method />
240
-    </configuration>
241
-    <configuration default="true" type="AndroidRunConfigurationType" factoryName="Android App">
242
-      <module name="" />
243
-      <option name="DEPLOY" value="true" />
244
-      <option name="ARTIFACT_NAME" value="" />
245
-      <option name="PM_INSTALL_OPTIONS" value="" />
246
-      <option name="ACTIVITY_EXTRA_FLAGS" value="" />
247
-      <option name="MODE" value="default_activity" />
248
-      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
249
-      <option name="PREFERRED_AVD" value="" />
250
-      <option name="CLEAR_LOGCAT" value="false" />
251
-      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
252
-      <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
253
-      <option name="FORCE_STOP_RUNNING_APP" value="true" />
254
-      <option name="DEBUGGER_TYPE" value="Java" />
255
-      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
256
-      <option name="PREFERRED_AVD" value="" />
257
-      <Java />
258
-      <Profilers>
259
-        <option name="ENABLE_ADVANCED_PROFILING" value="true" />
260
-        <option name="GAPID_ENABLED" value="false" />
261
-        <option name="GAPID_DISABLE_PCS" value="false" />
262
-        <option name="SUPPORT_LIB_ENABLED" value="true" />
263
-        <option name="INSTRUMENTATION_ENABLED" value="true" />
264
-      </Profilers>
265
-      <option name="DEEP_LINK" value="" />
266
-      <option name="ACTIVITY_CLASS" value="" />
267
-      <method />
268
-    </configuration>
269
-    <configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
270
-      <module name="" />
271
-      <option name="TESTING_TYPE" value="0" />
272
-      <option name="INSTRUMENTATION_RUNNER_CLASS" value="" />
273
-      <option name="METHOD_NAME" value="" />
274
-      <option name="CLASS_NAME" value="" />
275
-      <option name="PACKAGE_NAME" value="" />
276
-      <option name="EXTRA_OPTIONS" value="" />
277
-      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
278
-      <option name="PREFERRED_AVD" value="" />
279
-      <option name="CLEAR_LOGCAT" value="false" />
280
-      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
281
-      <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
282
-      <option name="FORCE_STOP_RUNNING_APP" value="true" />
283
-      <option name="DEBUGGER_TYPE" value="Java" />
284
-      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
285
-      <option name="PREFERRED_AVD" value="" />
286
-      <Java />
287
-      <Profilers>
288
-        <option name="ENABLE_ADVANCED_PROFILING" value="true" />
289
-        <option name="GAPID_ENABLED" value="false" />
290
-        <option name="GAPID_DISABLE_PCS" value="false" />
291
-        <option name="SUPPORT_LIB_ENABLED" value="true" />
292
-        <option name="INSTRUMENTATION_ENABLED" value="true" />
293
-      </Profilers>
294
-      <method />
295
-    </configuration>
296
-    <configuration default="true" type="Applet" factoryName="Applet">
297
-      <option name="HTML_USED" value="false" />
298
-      <option name="WIDTH" value="400" />
299
-      <option name="HEIGHT" value="300" />
300
-      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
301
-      <module />
302
-      <method />
303
-    </configuration>
304
-    <configuration default="true" type="Application" factoryName="Application">
305
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
306
-      <option name="MAIN_CLASS_NAME" />
307
-      <option name="VM_PARAMETERS" />
308
-      <option name="PROGRAM_PARAMETERS" />
309
-      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
310
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
311
-      <option name="ALTERNATIVE_JRE_PATH" />
312
-      <option name="ENABLE_SWING_INSPECTOR" value="false" />
313
-      <option name="ENV_VARIABLES" />
314
-      <option name="PASS_PARENT_ENVS" value="true" />
315
-      <module name="" />
316
-      <envs />
317
-      <method />
318
-    </configuration>
319
-    <configuration default="true" type="GradleRunConfiguration" factoryName="Gradle">
320
-      <ExternalSystemSettings>
321
-        <option name="executionName" />
322
-        <option name="externalProjectPath" />
323
-        <option name="externalSystemIdString" value="GRADLE" />
324
-        <option name="scriptParameters" />
325
-        <option name="taskDescriptions">
326
-          <list />
327
-        </option>
328
-        <option name="taskNames">
329
-          <list />
330
-        </option>
331
-        <option name="vmOptions" />
332
-      </ExternalSystemSettings>
333
-      <method />
334
-    </configuration>
335
-    <configuration default="true" type="JUnit" factoryName="JUnit">
336
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
337
-      <module name="" />
338
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
339
-      <option name="ALTERNATIVE_JRE_PATH" />
340
-      <option name="PACKAGE_NAME" />
341
-      <option name="MAIN_CLASS_NAME" />
342
-      <option name="METHOD_NAME" />
343
-      <option name="TEST_OBJECT" value="class" />
344
-      <option name="VM_PARAMETERS" value="-ea" />
345
-      <option name="PARAMETERS" />
346
-      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
347
-      <option name="ENV_VARIABLES" />
348
-      <option name="PASS_PARENT_ENVS" value="true" />
349
-      <option name="TEST_SEARCH_SCOPE">
350
-        <value defaultName="singleModule" />
351
-      </option>
352
-      <envs />
353
-      <patterns />
354
-      <method />
355
-    </configuration>
356
-    <configuration default="true" type="JarApplication" factoryName="JAR Application">
357
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
358
-      <envs />
359
-      <method />
360
-    </configuration>
361
-    <configuration default="true" type="Java Scratch" factoryName="Java Scratch">
362
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
363
-      <option name="SCRATCH_FILE_ID" value="0" />
364
-      <option name="MAIN_CLASS_NAME" />
365
-      <option name="VM_PARAMETERS" />
366
-      <option name="PROGRAM_PARAMETERS" />
367
-      <option name="WORKING_DIRECTORY" />
368
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
369
-      <option name="ALTERNATIVE_JRE_PATH" />
370
-      <option name="ENABLE_SWING_INSPECTOR" value="false" />
371
-      <option name="ENV_VARIABLES" />
372
-      <option name="PASS_PARENT_ENVS" value="true" />
373
-      <module name="" />
374
-      <envs />
375
-      <method />
376
-    </configuration>
377
-    <configuration default="true" type="JetRunConfigurationType" factoryName="Kotlin">
378
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
379
-      <option name="MAIN_CLASS_NAME" />
380
-      <option name="VM_PARAMETERS" />
381
-      <option name="PROGRAM_PARAMETERS" />
382
-      <option name="WORKING_DIRECTORY" />
383
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
384
-      <option name="ALTERNATIVE_JRE_PATH" />
385
-      <option name="PASS_PARENT_ENVS" value="true" />
386
-      <module name="CR-MesoLabs-Collections-SinglyLinkedList" />
387
-      <envs />
388
-      <method />
234
+  <component name="RunManager" selected="JUnit.SinglyLinkedListTest.sort">
235
+    <configuration name="SinglyLinkedListTest.containsTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
236
+      <module name="singlylinkedlist" />
237
+      <extension name="coverage">
238
+        <pattern>
239
+          <option name="PATTERN" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.*" />
240
+          <option name="ENABLED" value="true" />
241
+        </pattern>
242
+      </extension>
243
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan" />
244
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.SinglyLinkedListTest" />
245
+      <option name="METHOD_NAME" value="containsTest" />
246
+      <option name="TEST_OBJECT" value="method" />
247
+      <method v="2">
248
+        <option name="Make" enabled="true" />
249
+      </method>
389 250
     </configuration>
390
-    <configuration default="true" type="KotlinStandaloneScriptRunConfigurationType" factoryName="Kotlin script">
391
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
392
-      <option name="filePath" />
393
-      <option name="vmParameters" />
394
-      <option name="alternativeJrePath" />
395
-      <option name="programParameters" />
396
-      <option name="passParentEnvs" value="true" />
397
-      <option name="workingDirectory" />
398
-      <option name="isAlternativeJrePathEnabled" value="false" />
399
-      <envs />
400
-      <method />
251
+    <configuration name="SinglyLinkedListTest.copyTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
252
+      <module name="singlylinkedlist" />
253
+      <extension name="coverage">
254
+        <pattern>
255
+          <option name="PATTERN" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.*" />
256
+          <option name="ENABLED" value="true" />
257
+        </pattern>
258
+      </extension>
259
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan" />
260
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.SinglyLinkedListTest" />
261
+      <option name="METHOD_NAME" value="copyTest" />
262
+      <option name="TEST_OBJECT" value="method" />
263
+      <method v="2">
264
+        <option name="Make" enabled="true" />
265
+      </method>
401 266
     </configuration>
402
-    <configuration default="true" type="Remote" factoryName="Remote">
403
-      <option name="USE_SOCKET_TRANSPORT" value="true" />
404
-      <option name="SERVER_MODE" value="false" />
405
-      <option name="SHMEM_ADDRESS" value="javadebug" />
406
-      <option name="HOST" value="localhost" />
407
-      <option name="PORT" value="5005" />
408
-      <method />
267
+    <configuration name="SinglyLinkedListTest.getTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
268
+      <module name="singlylinkedlist" />
269
+      <extension name="coverage">
270
+        <pattern>
271
+          <option name="PATTERN" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.*" />
272
+          <option name="ENABLED" value="true" />
273
+        </pattern>
274
+      </extension>
275
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan" />
276
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.SinglyLinkedListTest" />
277
+      <option name="METHOD_NAME" value="getTest" />
278
+      <option name="TEST_OBJECT" value="method" />
279
+      <method v="2">
280
+        <option name="Make" enabled="true" />
281
+      </method>
409 282
     </configuration>
410
-    <configuration default="true" type="TestNG" factoryName="TestNG">
411
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
412
-      <module name="" />
413
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
414
-      <option name="ALTERNATIVE_JRE_PATH" />
415
-      <option name="SUITE_NAME" />
416
-      <option name="PACKAGE_NAME" />
417
-      <option name="MAIN_CLASS_NAME" />
418
-      <option name="METHOD_NAME" />
419
-      <option name="GROUP_NAME" />
420
-      <option name="TEST_OBJECT" value="CLASS" />
421
-      <option name="VM_PARAMETERS" value="-ea" />
422
-      <option name="PARAMETERS" />
423
-      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
424
-      <option name="OUTPUT_DIRECTORY" />
425
-      <option name="ANNOTATION_TYPE" />
426
-      <option name="ENV_VARIABLES" />
427
-      <option name="PASS_PARENT_ENVS" value="true" />
428
-      <option name="TEST_SEARCH_SCOPE">
429
-        <value defaultName="singleModule" />
430
-      </option>
431
-      <option name="USE_DEFAULT_REPORTERS" value="false" />
432
-      <option name="PROPERTIES_FILE" />
433
-      <envs />
434
-      <properties />
435
-      <listeners />
436
-      <method />
283
+    <configuration name="SinglyLinkedListTest.sizeTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
284
+      <module name="singlylinkedlist" />
285
+      <extension name="coverage">
286
+        <pattern>
287
+          <option name="PATTERN" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.*" />
288
+          <option name="ENABLED" value="true" />
289
+        </pattern>
290
+      </extension>
291
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan" />
292
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.SinglyLinkedListTest" />
293
+      <option name="METHOD_NAME" value="sizeTest" />
294
+      <option name="TEST_OBJECT" value="method" />
295
+      <method v="2">
296
+        <option name="Make" enabled="true" />
297
+      </method>
437 298
     </configuration>
438
-    <configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
439
-      <setting name="environment" value="" />
440
-      <setting name="specsToExecute" value="" />
441
-      <setting name="tags" value="" />
442
-      <setting name="parallelNodes" value="" />
443
-      <setting name="execInParallel" value="false" />
444
-      <setting name="programParameters" value="" />
445
-      <setting name="workingDirectory" value="" />
446
-      <setting name="moduleName" value="" />
447
-      <envMap />
448
-      <setting name="rowsRange" value="" />
449
-      <method />
299
+    <configuration name="SinglyLinkedListTest.sort" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
300
+      <module name="singlylinkedlist" />
301
+      <extension name="coverage">
302
+        <pattern>
303
+          <option name="PATTERN" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.*" />
304
+          <option name="ENABLED" value="true" />
305
+        </pattern>
306
+      </extension>
307
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan" />
308
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.singlylinkedlist.ChristianSheridan.SinglyLinkedListTest" />
309
+      <option name="METHOD_NAME" value="sort" />
310
+      <option name="TEST_OBJECT" value="method" />
311
+      <method v="2">
312
+        <option name="Make" enabled="true" />
313
+      </method>
450 314
     </configuration>
315
+    <list>
316
+      <item itemvalue="JUnit.SinglyLinkedListTest.containsTest" />
317
+      <item itemvalue="JUnit.SinglyLinkedListTest.sizeTest" />
318
+      <item itemvalue="JUnit.SinglyLinkedListTest.getTest" />
319
+      <item itemvalue="JUnit.SinglyLinkedListTest.copyTest" />
320
+      <item itemvalue="JUnit.SinglyLinkedListTest.sort" />
321
+    </list>
322
+    <recent_temporary>
323
+      <list>
324
+        <item itemvalue="JUnit.SinglyLinkedListTest.sort" />
325
+        <item itemvalue="JUnit.SinglyLinkedListTest.copyTest" />
326
+        <item itemvalue="JUnit.SinglyLinkedListTest.getTest" />
327
+        <item itemvalue="JUnit.SinglyLinkedListTest.containsTest" />
328
+        <item itemvalue="JUnit.SinglyLinkedListTest.sizeTest" />
329
+      </list>
330
+    </recent_temporary>
451 331
   </component>
452
-  <component name="ShelveChangesManager" show_recycled="false">
453
-    <option name="remove_strategy" value="false" />
332
+  <component name="SvnConfiguration">
333
+    <configuration />
454 334
   </component>
455 335
   <component name="TaskManager">
456 336
     <task active="true" id="Default" summary="Default task">
457
-      <changelist id="4f0c6f35-1ac5-49ea-b41e-20445c07c5c6" name="Default" comment="" />
458
-      <created>1515621994762</created>
337
+      <changelist id="c869a1b7-852a-41a8-8bfd-c257a81bd65d" name="Default Changelist" comment="" />
338
+      <created>1541187826414</created>
459 339
       <option name="number" value="Default" />
460 340
       <option name="presentableId" value="Default" />
461
-      <updated>1515621994762</updated>
341
+      <updated>1541187826414</updated>
342
+      <workItem from="1541187827669" duration="30546000" />
462 343
     </task>
463 344
     <servers />
464 345
   </component>
346
+  <component name="TestHistory">
347
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 18h 42m 52s.xml">
348
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
349
+    </history-entry>
350
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 18h 46m 11s.xml">
351
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
352
+    </history-entry>
353
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 18h 46m 31s.xml">
354
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
355
+    </history-entry>
356
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 18h 47m 18s.xml">
357
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
358
+    </history-entry>
359
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 18h 52m 04s.xml">
360
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
361
+    </history-entry>
362
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 18h 52m 51s.xml">
363
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
364
+    </history-entry>
365
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 18h 56m 30s.xml">
366
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
367
+    </history-entry>
368
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 18h 56m 41s.xml">
369
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
370
+    </history-entry>
371
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 18h 56m 50s.xml">
372
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
373
+    </history-entry>
374
+    <history-entry file="SinglyLinkedListTest_sort - 2018.11.06 at 19h 00m 03s.xml">
375
+      <configuration name="SinglyLinkedListTest.sort" configurationId="JUnit" />
376
+    </history-entry>
377
+  </component>
378
+  <component name="TimeTrackingManager">
379
+    <option name="totallyTimeSpent" value="30546000" />
380
+  </component>
465 381
   <component name="ToolWindowManager">
466
-    <frame x="0" y="23" width="1920" height="1053" extended-state="6" />
382
+    <frame x="0" y="-1057" width="1920" height="1057" extended-state="6" />
383
+    <editor active="true" />
467 384
     <layout>
468
-      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
469
-      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
470
-      <window_info id="Nl-Palette" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
471
-      <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
472
-      <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
473
-      <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
474
-      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
475
-      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
476
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
477
-      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
478
-      <window_info id="Properties" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
479
-      <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3298647" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
480
-      <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
481
-      <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
482
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24973376" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
483
-      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
484
-      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
485
-      <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
486
-      <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
487
-      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
488
-      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
489
-      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
490
-      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
491
-      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
492
-      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
493
-      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
494
-      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
385
+      <window_info id="Image Layers" />
386
+      <window_info id="Designer" />
387
+      <window_info id="UI Designer" />
388
+      <window_info id="Capture Tool" />
389
+      <window_info id="Favorites" side_tool="true" />
390
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.086794466" />
391
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
392
+      <window_info anchor="bottom" id="Messages" weight="0.32953367" />
393
+      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
394
+      <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
395
+      <window_info anchor="bottom" id="Terminal" />
396
+      <window_info anchor="bottom" id="Event Log" side_tool="true" />
397
+      <window_info anchor="bottom" id="Message" order="0" />
398
+      <window_info anchor="bottom" id="Find" order="1" />
399
+      <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.26839378" />
400
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
401
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
402
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
403
+      <window_info anchor="bottom" id="TODO" order="6" />
404
+      <window_info anchor="right" id="Palette" />
405
+      <window_info anchor="right" id="Theme Preview" />
406
+      <window_info anchor="right" id="Capture Analysis" />
407
+      <window_info anchor="right" id="Palette&#9;" />
408
+      <window_info anchor="right" id="Database" />
409
+      <window_info anchor="right" id="Maven Projects" />
410
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
411
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
412
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
495 413
     </layout>
496 414
   </component>
415
+  <component name="TypeScriptGeneratedFilesManager">
416
+    <option name="version" value="1" />
417
+  </component>
497 418
   <component name="VcsContentAnnotationSettings">
498 419
     <option name="myLimit" value="2678400000" />
499 420
   </component>
500
-  <component name="XDebuggerManager">
501
-    <breakpoint-manager />
502
-    <watches-manager />
503
-  </component>
504 421
   <component name="editorHistoryManager">
505 422
     <entry file="file://$PROJECT_DIR$/pom.xml">
506
-      <provider selected="true" editor-type-id="text-editor">
507
-        <state relative-caret-position="0">
508
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
509
-          <folding />
510
-        </state>
511
-      </provider>
512
-    </entry>
513
-    <entry file="file://$PROJECT_DIR$/README.md">
514
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
515
-        <state split_layout="SPLIT">
516
-          <first_editor relative-caret-position="0">
517
-            <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
518
-            <folding />
519
-          </first_editor>
520
-          <second_editor />
521
-        </state>
522
-      </provider>
523
-    </entry>
524
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist.java">
525
-      <provider selected="true" editor-type-id="text-editor">
526
-        <state relative-caret-position="0">
527
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
528
-          <folding />
529
-        </state>
530
-      </provider>
531
-    </entry>
532
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/MainApplication.java">
533
-      <provider selected="true" editor-type-id="text-editor">
534
-        <state relative-caret-position="75">
535
-          <caret line="5" column="28" lean-forward="false" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" />
536
-          <folding />
537
-        </state>
538
-      </provider>
423
+      <provider selected="true" editor-type-id="text-editor" />
539 424
     </entry>
540
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/SinglyLinkedList.java">
425
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/lang/Object.java">
541 426
       <provider selected="true" editor-type-id="text-editor">
542
-        <state relative-caret-position="75">
543
-          <caret line="5" column="29" lean-forward="false" selection-start-line="5" selection-start-column="29" selection-end-line="5" selection-end-column="29" />
544
-          <folding />
427
+        <state relative-caret-position="242">
428
+          <caret line="148" column="19" lean-forward="true" selection-start-line="148" selection-end-line="149" />
429
+          <folding>
430
+            <element signature="e#5748#5749#0" expanded="true" />
431
+            <element signature="e#5784#5785#0" expanded="true" />
432
+          </folding>
545 433
         </state>
546 434
       </provider>
547 435
     </entry>
548
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/singlylinkedlist/SinglyLinkedListTest.java">
436
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedList.java">
549 437
       <provider selected="true" editor-type-id="text-editor">
550
-        <state relative-caret-position="75">
551
-          <caret line="5" column="33" lean-forward="false" selection-start-line="5" selection-start-column="33" selection-end-line="5" selection-end-column="33" />
552
-          <folding />
438
+        <state relative-caret-position="509">
439
+          <caret line="151" lean-forward="true" selection-start-line="151" selection-end-line="151" />
440
+          <folding>
441
+            <element signature="imports" expanded="true" />
442
+          </folding>
553 443
         </state>
554 444
       </provider>
555 445
     </entry>
556
-    <entry file="file://$PROJECT_DIR$/.gitignore">
446
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedListTest.java">
557 447
       <provider selected="true" editor-type-id="text-editor">
558
-        <state relative-caret-position="75">
559
-          <caret line="5" column="5" lean-forward="true" selection-start-line="5" selection-start-column="5" selection-end-line="5" selection-end-column="5" />
560
-          <folding />
448
+        <state relative-caret-position="464">
449
+          <caret line="105" lean-forward="true" selection-start-line="105" selection-end-line="105" />
450
+          <folding>
451
+            <element signature="imports" expanded="true" />
452
+          </folding>
561 453
         </state>
562 454
       </provider>
563 455
     </entry>

+ 9
- 0
pom.xml Zobrazit soubor

@@ -7,6 +7,15 @@
7 7
     <groupId>com.zipcodewilmington</groupId>
8 8
     <artifactId>singlylinkedlist</artifactId>
9 9
     <version>1.0-SNAPSHOT</version>
10
+    <dependencies>
11
+        <!-- https://mvnrepository.com/artifact/junit/junit -->
12
+        <dependency>
13
+            <groupId>junit</groupId>
14
+            <artifactId>junit</artifactId>
15
+            <version>4.12</version>
16
+            <scope>test</scope>
17
+        </dependency>
18
+    </dependencies>
10 19
 
11 20
 
12 21
 </project>

src/main/java/com/zipcodewilmington/singlylinkedlist/MainApplication.java → src/main/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/MainApplication.java Zobrazit soubor

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.singlylinkedlist;
1
+package com.zipcodewilmington.singlylinkedlist.ChristianSheridan;
2 2
 
3 3
 /**
4 4
  * Created by leon on 1/10/18.

+ 155
- 0
src/main/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedList.java Zobrazit soubor

@@ -0,0 +1,155 @@
1
+package com.zipcodewilmington.singlylinkedlist.ChristianSheridan;
2
+
3
+import javafx.scene.chart.PieChart;
4
+
5
+import javax.swing.*;
6
+
7
+/**
8
+ * Created by leon on 1/10/18.
9
+ */
10
+public class SinglyLinkedList implements Cloneable {
11
+
12
+    protected SinglyLinkedList clone() throws CloneNotSupportedException{
13
+        return (SinglyLinkedList)super.clone();
14
+    }
15
+
16
+    SinglyLinkedList (){
17
+    }
18
+
19
+    public Node head;
20
+
21
+    public class Node implements Cloneable {
22
+
23
+        int data;
24
+        Node next;
25
+
26
+
27
+        public Node(int data, Node next) {
28
+            this.data = data;
29
+            this.next = next;
30
+            }
31
+
32
+            protected Node clone() throws CloneNotSupportedException
33
+            {
34
+                return (Node) super.clone();
35
+            }
36
+        }
37
+
38
+
39
+
40
+    public void add(int data) {
41
+        if (head == null) {
42
+            head = new Node(data, null);
43
+            return;
44
+        }
45
+        Node current = head;
46
+        while (current.next != null) {
47
+            current = current.next;
48
+        }
49
+        current.next = new Node(data, null);
50
+    }
51
+
52
+
53
+    public void addNewHead(int data) {
54
+        Node newHead = new Node(data, null);
55
+        newHead.next = head;
56
+        head = newHead;
57
+    }
58
+
59
+    public void remove(int data) {
60
+        if (head == null) return;
61
+        if (head.data == data) {
62
+            head = head.next;
63
+            return;
64
+        }
65
+
66
+        Node current = head;
67
+        while (current.next != null) {
68
+            if (current.next.data == data) {
69
+                current.next = current.next.next;
70
+                return;
71
+            }
72
+            current = current.next;
73
+        }
74
+    }
75
+
76
+    public boolean contains(int data) {
77
+        Node current = head;
78
+        while (current.next != null) {
79
+            if (current.data == data) {
80
+                return true;
81
+            } current = current.next;
82
+        }
83
+        return false;
84
+    }
85
+
86
+    public int find(int data) {
87
+        Node current = head;
88
+        int count = 0;
89
+        while (current.data != data) {
90
+            count++;
91
+            current = current.next;
92
+        } if (current.data == data){
93
+            return count;
94
+        }
95
+        return -1;
96
+    }
97
+
98
+    public int size() {
99
+        Node current = head;
100
+        int count = 1;
101
+        while (current.next != null){
102
+            count++;
103
+            current = current.next;
104
+        }
105
+        return count;
106
+    }
107
+
108
+    public int get(int data) {
109
+        Node current = head;
110
+        int count = 0;
111
+        while (count != data){
112
+            count++;
113
+            current = current.next;
114
+        } return current.data;
115
+    }
116
+
117
+    public SinglyLinkedList copy(){
118
+
119
+        SinglyLinkedList copyOf = new SinglyLinkedList();
120
+
121
+        Node nodeCopy;
122
+        Node current = head;
123
+        while(current != null){
124
+            nodeCopy = current;
125
+            current = current.next;
126
+            copyOf.add(nodeCopy.data);
127
+        }
128
+        return copyOf;
129
+    }
130
+
131
+    public SinglyLinkedList sort(){
132
+
133
+        SinglyLinkedList sorted = new SinglyLinkedList();
134
+
135
+            if (size() >1)
136
+            for (int i = 0; i <size(); i++){
137
+                Node currentNode = head;
138
+                Node next = currentNode.next;
139
+                Node temp = new Node(0,null);
140
+                for (int j = 0; j < size()-1; j++){
141
+                    if (currentNode.data > next.data){
142
+                        temp.data = currentNode.data;
143
+                        currentNode.data = next.data;
144
+                        next.data = temp.data;
145
+                    }
146
+                    currentNode = next;
147
+                    next = next.next;
148
+                }
149
+            }
150
+        return sorted;
151
+    }
152
+
153
+}
154
+
155
+

+ 0
- 7
src/main/java/com/zipcodewilmington/singlylinkedlist/SinglyLinkedList.java Zobrazit soubor

@@ -1,7 +0,0 @@
1
-package com.zipcodewilmington.singlylinkedlist;
2
-
3
-/**
4
- * Created by leon on 1/10/18.
5
- */
6
-public class SinglyLinkedList {
7
-}

+ 110
- 0
src/test/java/com/zipcodewilmington/singlylinkedlist/ChristianSheridan/SinglyLinkedListTest.java Zobrazit soubor

@@ -0,0 +1,110 @@
1
+package com.zipcodewilmington.singlylinkedlist.ChristianSheridan;
2
+import org.junit.Before;
3
+import org.junit.Test;
4
+import org.junit.Assert;
5
+/**
6
+ * Created by leon on 1/10/18.
7
+ */
8
+public class SinglyLinkedListTest {
9
+
10
+    SinglyLinkedList testList = new SinglyLinkedList();
11
+
12
+    @Before
13
+    public void testSetUp(){
14
+
15
+    }
16
+
17
+    @Test
18
+    public void addTest(){
19
+        testList.add(1);
20
+        int expected = 1;
21
+        int actual = testList.head.data;
22
+
23
+        Assert.assertEquals(expected, actual);
24
+    }
25
+
26
+    @Test
27
+    public void removeTest(){
28
+        testList.add(1);
29
+        testList.add(2);
30
+        testList.remove(1);
31
+        int actual = testList.head.data;
32
+
33
+        Assert.assertEquals(2, actual);
34
+    }
35
+
36
+    @Test
37
+    public void containsTest(){
38
+        testList.add(1);
39
+        testList.add(2);
40
+
41
+        boolean expected = true;
42
+        boolean actual = testList.contains(1);
43
+        Assert.assertEquals(expected, actual);
44
+    }
45
+
46
+    @Test
47
+    public void findTest(){
48
+        testList.add(1);
49
+        testList.add(2);
50
+
51
+        int expected = 1;
52
+        int actual = testList.find(2);
53
+
54
+        Assert.assertEquals(expected, actual);
55
+    }
56
+
57
+    @Test
58
+    public void sizeTest(){
59
+        testList.add(1);
60
+        testList.add(2);
61
+        testList.add(3);
62
+
63
+        int expected = 3;
64
+        int actual = testList.size();
65
+
66
+        Assert.assertEquals(expected, actual);
67
+    }
68
+
69
+    @Test
70
+    public void getTest(){
71
+        testList.add(2);
72
+        testList.add(4);
73
+        testList.add(103);
74
+
75
+        int expected = 2;
76
+        int actual = testList.get(0);
77
+    }
78
+
79
+    @Test
80
+    public void copyTest(){
81
+        testList.add(2);
82
+        testList.add(4);
83
+        testList.add(103);
84
+        testList.add(1);
85
+
86
+        SinglyLinkedList expected = testList;
87
+        SinglyLinkedList actual = testList.copy();
88
+
89
+        int expectedInt = expected.get(2);
90
+        int actualInt = actual.get(2);
91
+
92
+
93
+        Assert.assertEquals(expectedInt, actualInt);
94
+    }
95
+
96
+    @Test
97
+    public void sort(){
98
+        testList.add(2);
99
+        testList.add(5);
100
+        testList.add(3);
101
+        testList.add(1);
102
+
103
+        testList.sort();
104
+
105
+        Assert.assertTrue(testList.get(0)<testList.get(1) && testList.get(1)<testList.get(2) && testList.get(2)<testList.get(3));
106
+    }
107
+
108
+
109
+
110
+}

+ 0
- 7
src/test/java/com/zipcodewilmington/singlylinkedlist/SinglyLinkedListTest.java Zobrazit soubor

@@ -1,7 +0,0 @@
1
-package com.zipcodewilmington.singlylinkedlist;
2
-
3
-/**
4
- * Created by leon on 1/10/18.
5
- */
6
-public class SinglyLinkedListTest {
7
-}