Christian Sheridan 5 gadus atpakaļ
vecāks
revīzija
f1f8460f16

+ 1
- 0
.idea/misc.xml Parādīt failu

@@ -7,4 +7,5 @@
7 7
       </list>
8 8
     </option>
9 9
   </component>
10
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
10 11
 </project>

+ 124
- 0
.idea/uiDesigner.xml Parādīt failu

@@ -0,0 +1,124 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="Palette2">
4
+    <group name="Swing">
5
+      <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
6
+        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
7
+      </item>
8
+      <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
9
+        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
10
+      </item>
11
+      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
12
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
13
+      </item>
14
+      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
15
+        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
16
+      </item>
17
+      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
18
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
19
+        <initial-values>
20
+          <property name="text" value="Button" />
21
+        </initial-values>
22
+      </item>
23
+      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
24
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
25
+        <initial-values>
26
+          <property name="text" value="RadioButton" />
27
+        </initial-values>
28
+      </item>
29
+      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
30
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
31
+        <initial-values>
32
+          <property name="text" value="CheckBox" />
33
+        </initial-values>
34
+      </item>
35
+      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
36
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
37
+        <initial-values>
38
+          <property name="text" value="Label" />
39
+        </initial-values>
40
+      </item>
41
+      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
42
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
43
+          <preferred-size width="150" height="-1" />
44
+        </default-constraints>
45
+      </item>
46
+      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
47
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
48
+          <preferred-size width="150" height="-1" />
49
+        </default-constraints>
50
+      </item>
51
+      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
52
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
53
+          <preferred-size width="150" height="-1" />
54
+        </default-constraints>
55
+      </item>
56
+      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
57
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
58
+          <preferred-size width="150" height="50" />
59
+        </default-constraints>
60
+      </item>
61
+      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
62
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
63
+          <preferred-size width="150" height="50" />
64
+        </default-constraints>
65
+      </item>
66
+      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
67
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
68
+          <preferred-size width="150" height="50" />
69
+        </default-constraints>
70
+      </item>
71
+      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
72
+        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
73
+      </item>
74
+      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
75
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
76
+          <preferred-size width="150" height="50" />
77
+        </default-constraints>
78
+      </item>
79
+      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
80
+        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
81
+          <preferred-size width="150" height="50" />
82
+        </default-constraints>
83
+      </item>
84
+      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
85
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
86
+          <preferred-size width="150" height="50" />
87
+        </default-constraints>
88
+      </item>
89
+      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
90
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
91
+          <preferred-size width="200" height="200" />
92
+        </default-constraints>
93
+      </item>
94
+      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
95
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
96
+          <preferred-size width="200" height="200" />
97
+        </default-constraints>
98
+      </item>
99
+      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
100
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
101
+      </item>
102
+      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
103
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
104
+      </item>
105
+      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
106
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
107
+      </item>
108
+      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
109
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
110
+      </item>
111
+      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
112
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
113
+          <preferred-size width="-1" height="20" />
114
+        </default-constraints>
115
+      </item>
116
+      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
117
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
118
+      </item>
119
+      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
120
+        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
121
+      </item>
122
+    </group>
123
+  </component>
124
+</project>

+ 483
- 238
.idea/workspace.xml Parādīt failu

@@ -2,69 +2,181 @@
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="3455511b-a100-4bbd-b07c-68f009bc8dbc" name="Default" comment="">
5
-      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
6
-      <change beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
5
+      <change afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/arraz/src/main/java/MaxMin.java" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/arraz/src/main/java/OddEven.java" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.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$/arraz/src/main/java/Arraz.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" afterDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" afterDir="false" />
7 12
     </list>
8 13
     <ignored path="$PROJECT_DIR$/arraz/target/" />
9 14
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
-    <option name="TRACKING_ENABLED" value="true" />
11 15
     <option name="SHOW_DIALOG" value="false" />
12 16
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
13 17
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
14 18
     <option name="LAST_RESOLUTION" value="IGNORE" />
15 19
   </component>
20
+  <component name="FUSProjectUsageTrigger">
21
+    <session id="-851294293">
22
+      <usages-collector id="statistics.lifecycle.project">
23
+        <counts>
24
+          <entry key="project.closed" value="1" />
25
+          <entry key="project.open.time.2" value="1" />
26
+          <entry key="project.open.time.3" value="1" />
27
+          <entry key="project.opened" value="2" />
28
+        </counts>
29
+      </usages-collector>
30
+      <usages-collector id="statistics.file.extensions.open">
31
+        <counts>
32
+          <entry key="class" value="2" />
33
+          <entry key="java" value="6" />
34
+        </counts>
35
+      </usages-collector>
36
+      <usages-collector id="statistics.file.types.open">
37
+        <counts>
38
+          <entry key="CLASS" value="2" />
39
+          <entry key="JAVA" value="6" />
40
+        </counts>
41
+      </usages-collector>
42
+      <usages-collector id="statistics.file.extensions.edit">
43
+        <counts>
44
+          <entry key="java" value="9438" />
45
+        </counts>
46
+      </usages-collector>
47
+      <usages-collector id="statistics.file.types.edit">
48
+        <counts>
49
+          <entry key="JAVA" value="9438" />
50
+        </counts>
51
+      </usages-collector>
52
+    </session>
53
+  </component>
16 54
   <component name="FileEditorManager">
17
-    <leaf SIDE_TABS_SIZE_LIMIT_KEY="375">
18
-      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
19
-        <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
20
-          <provider selected="true" editor-type-id="text-editor">
21
-            <state relative-caret-position="0">
22
-              <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
23
-              <folding />
24
-            </state>
25
-          </provider>
26
-        </entry>
27
-      </file>
28
-      <file leaf-file-name="Arraz.java" pinned="false" current-in-tab="false">
29
-        <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
30
-          <provider selected="true" editor-type-id="text-editor">
31
-            <state relative-caret-position="0">
32
-              <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
33
-              <folding />
34
-            </state>
35
-          </provider>
36
-        </entry>
37
-      </file>
38
-      <file leaf-file-name="ArrazTest.java" pinned="false" current-in-tab="false">
39
-        <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
40
-          <provider selected="true" editor-type-id="text-editor">
41
-            <state relative-caret-position="34">
42
-              <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
43
-              <folding />
44
-            </state>
45
-          </provider>
46
-        </entry>
47
-      </file>
48
-      <file leaf-file-name="README.md" pinned="false" current-in-tab="true">
49
-        <entry file="file://$PROJECT_DIR$/README.md">
50
-          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
51
-            <state split_layout="SPLIT">
52
-              <first_editor relative-caret-position="306">
53
-                <caret line="18" column="0" lean-forward="true" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
54
-                <folding />
55
-              </first_editor>
56
-              <second_editor />
57
-            </state>
58
-          </provider>
59
-        </entry>
60
-      </file>
61
-    </leaf>
55
+    <splitter split-orientation="horizontal" split-proportion="0.5">
56
+      <split-first>
57
+        <leaf SIDE_TABS_SIZE_LIMIT_KEY="375">
58
+          <file pinned="false" current-in-tab="false">
59
+            <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
60
+              <provider selected="true" editor-type-id="text-editor" />
61
+            </entry>
62
+          </file>
63
+          <file pinned="false" current-in-tab="true">
64
+            <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
65
+              <provider selected="true" editor-type-id="text-editor">
66
+                <state relative-caret-position="432">
67
+                  <caret line="235" column="24" selection-start-line="235" selection-start-column="24" selection-end-line="235" selection-end-column="24" />
68
+                  <folding>
69
+                    <element signature="e#3865#3874#0" expanded="true" />
70
+                    <element signature="e#4052#4053#0" expanded="true" />
71
+                    <element signature="e#4105#4106#0" expanded="true" />
72
+                    <element signature="e#6152#6161#0" expanded="true" />
73
+                    <element signature="e#6230#6239#0" expanded="true" />
74
+                    <element signature="e#6442#6451#0" expanded="true" />
75
+                  </folding>
76
+                </state>
77
+              </provider>
78
+            </entry>
79
+          </file>
80
+          <file pinned="false" current-in-tab="false">
81
+            <entry file="file://$PROJECT_DIR$/arraz/src/main/java/OddEven.java">
82
+              <provider selected="true" editor-type-id="text-editor">
83
+                <state relative-caret-position="90">
84
+                  <caret line="6" column="5" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
85
+                  <folding>
86
+                    <element signature="e#100#101#0" expanded="true" />
87
+                    <element signature="e#127#128#0" expanded="true" />
88
+                    <element signature="e#156#157#0" expanded="true" />
89
+                    <element signature="e#184#185#0" expanded="true" />
90
+                  </folding>
91
+                </state>
92
+              </provider>
93
+            </entry>
94
+          </file>
95
+          <file pinned="false" current-in-tab="false">
96
+            <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
97
+              <provider selected="true" editor-type-id="text-editor">
98
+                <state relative-caret-position="432">
99
+                  <caret line="376" selection-start-line="376" selection-end-line="376" />
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://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0.jar!/org/junit/internal/runners/TestMethodRunner.class">
109
+              <provider selected="true" editor-type-id="text-editor">
110
+                <state relative-caret-position="281">
111
+                  <caret line="120" selection-start-line="120" selection-end-line="120" />
112
+                  <folding>
113
+                    <element signature="e#4039#4040#0" expanded="true" />
114
+                    <element signature="e#4094#4095#0" expanded="true" />
115
+                  </folding>
116
+                </state>
117
+              </provider>
118
+            </entry>
119
+          </file>
120
+          <file pinned="false" current-in-tab="false">
121
+            <entry file="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0.jar!/org/junit/internal/runners/TestIntrospector.class">
122
+              <provider selected="true" editor-type-id="text-editor">
123
+                <state relative-caret-position="390">
124
+                  <caret line="91" selection-start-line="91" selection-end-line="91" />
125
+                </state>
126
+              </provider>
127
+            </entry>
128
+          </file>
129
+          <file pinned="false" current-in-tab="false">
130
+            <entry file="file://$PROJECT_DIR$/README.md">
131
+              <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
132
+                <state split_layout="SPLIT">
133
+                  <first_editor relative-caret-position="270">
134
+                    <caret line="18" selection-start-line="18" selection-end-line="18" />
135
+                  </first_editor>
136
+                  <second_editor />
137
+                </state>
138
+              </provider>
139
+            </entry>
140
+          </file>
141
+        </leaf>
142
+      </split-first>
143
+      <split-second>
144
+        <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
145
+          <file pinned="false" current-in-tab="true">
146
+            <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
147
+              <provider selected="true" editor-type-id="text-editor">
148
+                <state relative-caret-position="432">
149
+                  <caret line="448" column="59" lean-forward="true" selection-start-line="448" selection-start-column="59" selection-end-line="448" selection-end-column="59" />
150
+                  <folding>
151
+                    <element signature="imports" expanded="true" />
152
+                    <element signature="e#8876#8877#0" expanded="true" />
153
+                    <element signature="e#8912#8913#0" expanded="true" />
154
+                  </folding>
155
+                </state>
156
+              </provider>
157
+            </entry>
158
+          </file>
159
+          <file pinned="false" current-in-tab="false">
160
+            <entry file="file://$PROJECT_DIR$/arraz/src/main/java/MaxMin.java">
161
+              <provider selected="true" editor-type-id="text-editor">
162
+                <state relative-caret-position="75">
163
+                  <caret line="5" column="25" selection-start-line="5" selection-start-column="25" selection-end-line="5" selection-end-column="25" />
164
+                  <folding>
165
+                    <element signature="e#108#109#0" expanded="true" />
166
+                  </folding>
167
+                </state>
168
+              </provider>
169
+            </entry>
170
+          </file>
171
+        </leaf>
172
+      </split-second>
173
+    </splitter>
62 174
   </component>
63 175
   <component name="FileTemplateManagerImpl">
64 176
     <option name="RECENT_TEMPLATES">
65 177
       <list>
66
-        <option value="Class" />
67 178
         <option value="JUnit4 Test Class" />
179
+        <option value="Class" />
68 180
       </list>
69 181
     </option>
70 182
   </component>
@@ -72,9 +184,6 @@
72 184
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
73 185
   </component>
74 186
   <component name="GradleLocalSettings">
75
-    <option name="externalProjectsViewState">
76
-      <projects_view />
77
-    </option>
78 187
     <option name="projectSyncType">
79 188
       <map>
80 189
         <entry key="$USER_HOME$/GitHub/gs-gradle/initial" value="PREVIEW" />
@@ -84,8 +193,12 @@
84 193
   <component name="IdeDocumentHistory">
85 194
     <option name="CHANGED_PATHS">
86 195
       <list>
87
-        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
88 196
         <option value="$PROJECT_DIR$/README.md" />
197
+        <option value="$PROJECT_DIR$/arraz/src/main/java/java/OddEven.java" />
198
+        <option value="$PROJECT_DIR$/arraz/src/main/java/OddEven.java" />
199
+        <option value="$PROJECT_DIR$/arraz/src/main/java/MaxMin.java" />
200
+        <option value="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" />
201
+        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
89 202
       </list>
90 203
     </option>
91 204
   </component>
@@ -103,26 +216,17 @@
103 216
     </option>
104 217
   </component>
105 218
   <component name="ProjectFrameBounds">
106
-    <option name="x" value="242" />
107
-    <option name="y" value="45" />
108
-    <option name="width" value="1538" />
109
-    <option name="height" value="962" />
219
+    <option name="x" value="17" />
220
+    <option name="y" value="-1022" />
221
+    <option name="width" value="1833" />
222
+    <option name="height" value="1008" />
110 223
   </component>
111 224
   <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 />
225
+    <navigator proportions="" version="1">
123 226
       <foldersAlwaysOnTop value="true" />
124 227
     </navigator>
125 228
     <panes>
229
+      <pane id="PackagesPane" />
126 230
       <pane id="ProjectPane">
127 231
         <subPane>
128 232
           <expand>
@@ -151,35 +255,66 @@
151 255
             <path>
152 256
               <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
153 257
               <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
258
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
259
+              <item name="src" type="462c0819:PsiDirectoryNode" />
260
+              <item name="main" type="462c0819:PsiDirectoryNode" />
261
+              <item name="java" type="462c0819:PsiDirectoryNode" />
262
+            </path>
263
+            <path>
264
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
265
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
266
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
267
+              <item name="src" type="462c0819:PsiDirectoryNode" />
268
+              <item name="test" type="462c0819:PsiDirectoryNode" />
269
+            </path>
270
+            <path>
271
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
272
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
273
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
274
+              <item name="src" type="462c0819:PsiDirectoryNode" />
275
+              <item name="test" type="462c0819:PsiDirectoryNode" />
276
+              <item name="java" type="462c0819:PsiDirectoryNode" />
277
+            </path>
278
+            <path>
279
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
280
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
154 281
               <item name="DocumentationOnArrays" type="462c0819:PsiDirectoryNode" />
155 282
             </path>
156 283
           </expand>
157 284
           <select />
158 285
         </subPane>
159 286
       </pane>
160
-      <pane id="Scratches" />
161
-      <pane id="PackagesPane" />
162
-      <pane id="AndroidView" />
163 287
       <pane id="Scope" />
164 288
     </panes>
165 289
   </component>
166 290
   <component name="PropertiesComponent">
167
-    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
168
-    <property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
291
+    <property name="GO_FMT" value="false" />
169 292
     <property name="WebServerToolWindowFactoryState" value="false" />
170 293
     <property name="aspect.path.notification.shown" value="true" />
171
-    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
172
-    <property name="jdk.selected.JAVA_MODULE" value="1.8" />
294
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1544483070608" />
173 295
     <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit4" />
174
-    <property name="GO_FMT" value="false" />
296
+    <property name="jdk.selected.JAVA_MODULE" value="1.8" />
297
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
298
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
299
+    <property name="project.structure.last.edited" value="Project" />
300
+    <property name="project.structure.proportion" value="0.0" />
301
+    <property name="project.structure.side.proportion" value="0.0" />
302
+    <property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
175 303
   </component>
176 304
   <component name="RecentsManager">
177 305
     <key name="CreateTestDialog.RecentsKey">
178 306
       <recent name="" />
179 307
     </key>
308
+    <key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
309
+      <recent name="" />
310
+    </key>
180 311
     <key name="CreateTestDialog.Recents.Supers">
181 312
       <recent name="" />
182 313
     </key>
314
+    <key name="CreateClassDialog.RecentsKey">
315
+      <recent name="" />
316
+      <recent name="java" />
317
+    </key>
183 318
   </component>
184 319
   <component name="RunDashboard">
185 320
     <option name="ruleStates">
@@ -193,90 +328,113 @@
193 328
       </list>
194 329
     </option>
195 330
   </component>
196
-  <component name="RunManager">
331
+  <component name="RunManager" selected="JUnit.ArrazTest.test2SortArrayIntoEvensThenOdds">
197 332
     <configuration default="true" type="Applet" factoryName="Applet">
198
-      <option name="WIDTH" value="400" />
199
-      <option name="HEIGHT" value="300" />
200 333
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
201
-      <module />
334
+      <method v="2">
335
+        <option name="Make" enabled="true" />
336
+      </method>
202 337
     </configuration>
203 338
     <configuration default="true" type="Application" factoryName="Application">
204
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
205
-      <option name="MAIN_CLASS_NAME" />
206
-      <option name="VM_PARAMETERS" />
207
-      <option name="PROGRAM_PARAMETERS" />
208 339
       <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
209
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
210
-      <option name="ALTERNATIVE_JRE_PATH" />
211
-      <option name="ENABLE_SWING_INSPECTOR" value="false" />
212
-      <option name="ENV_VARIABLES" />
213
-      <option name="PASS_PARENT_ENVS" value="true" />
214
-      <module name="" />
215
-      <envs />
340
+      <method v="2">
341
+        <option name="Make" enabled="true" />
342
+      </method>
216 343
     </configuration>
217
-    <configuration default="true" type="JUnit" factoryName="JUnit">
218
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
219
-      <module name="" />
220
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
221
-      <option name="ALTERNATIVE_JRE_PATH" />
222
-      <option name="PACKAGE_NAME" />
223
-      <option name="MAIN_CLASS_NAME" />
224
-      <option name="METHOD_NAME" />
225
-      <option name="TEST_OBJECT" value="class" />
226
-      <option name="VM_PARAMETERS" value="-ea" />
227
-      <option name="PARAMETERS" />
344
+    <configuration name="ArrazTest.test2InsertAtStartAndCopy" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
345
+      <module name="arraz" />
346
+      <option name="PACKAGE_NAME" value="" />
347
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
348
+      <option name="METHOD_NAME" value="test2InsertAtStartAndCopy" />
349
+      <option name="TEST_OBJECT" value="method" />
228 350
       <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
229
-      <option name="ENV_VARIABLES" />
230
-      <option name="PASS_PARENT_ENVS" value="true" />
231
-      <option name="TEST_SEARCH_SCOPE">
232
-        <value defaultName="singleModule" />
233
-      </option>
234
-      <envs />
235
-      <patterns />
351
+      <method v="2">
352
+        <option name="Make" enabled="true" />
353
+      </method>
236 354
     </configuration>
237
-    <configuration default="true" type="Remote" factoryName="Remote">
238
-      <option name="USE_SOCKET_TRANSPORT" value="true" />
239
-      <option name="SERVER_MODE" value="false" />
240
-      <option name="SHMEM_ADDRESS" value="javadebug" />
241
-      <option name="HOST" value="localhost" />
242
-      <option name="PORT" value="5005" />
355
+    <configuration name="ArrazTest.test2RemoveFirstItemAndCopy" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
356
+      <module name="arraz" />
357
+      <option name="PACKAGE_NAME" value="" />
358
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
359
+      <option name="METHOD_NAME" value="test2RemoveFirstItemAndCopy" />
360
+      <option name="TEST_OBJECT" value="method" />
361
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
362
+      <method v="2">
363
+        <option name="Make" enabled="true" />
364
+      </method>
365
+    </configuration>
366
+    <configuration name="ArrazTest.test2SortArrayIntoEvensThenOdds" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
367
+      <module name="arraz" />
368
+      <option name="PACKAGE_NAME" value="" />
369
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
370
+      <option name="METHOD_NAME" value="test2SortArrayIntoEvensThenOdds" />
371
+      <option name="TEST_OBJECT" value="method" />
372
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
373
+      <method v="2">
374
+        <option name="Make" enabled="true" />
375
+      </method>
376
+    </configuration>
377
+    <configuration name="ArrazTest.testInsertAtStartAndCopy" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
378
+      <module name="arraz" />
379
+      <option name="PACKAGE_NAME" value="" />
380
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
381
+      <option name="METHOD_NAME" value="testInsertAtStartAndCopy" />
382
+      <option name="TEST_OBJECT" value="method" />
383
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
384
+      <method v="2">
385
+        <option name="Make" enabled="true" />
386
+      </method>
387
+    </configuration>
388
+    <configuration name="ArrazTest.testSortArrayIntoEvensThenOdds" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
389
+      <module name="arraz" />
390
+      <option name="PACKAGE_NAME" value="" />
391
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
392
+      <option name="METHOD_NAME" value="testSortArrayIntoEvensThenOdds" />
393
+      <option name="TEST_OBJECT" value="method" />
394
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
395
+      <method v="2">
396
+        <option name="Make" enabled="true" />
397
+      </method>
398
+    </configuration>
399
+    <configuration default="true" type="JUnit" factoryName="JUnit">
400
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
401
+      <method v="2">
402
+        <option name="Make" enabled="true" />
403
+      </method>
243 404
     </configuration>
244 405
     <configuration default="true" type="TestNG" factoryName="TestNG">
245
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
246
-      <module name="" />
247
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
248
-      <option name="ALTERNATIVE_JRE_PATH" />
249
-      <option name="SUITE_NAME" />
250
-      <option name="PACKAGE_NAME" />
251
-      <option name="MAIN_CLASS_NAME" />
252
-      <option name="METHOD_NAME" />
253
-      <option name="GROUP_NAME" />
254
-      <option name="TEST_OBJECT" value="CLASS" />
255
-      <option name="VM_PARAMETERS" value="-ea" />
256
-      <option name="PARAMETERS" />
257 406
       <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
258
-      <option name="OUTPUT_DIRECTORY" />
259
-      <option name="ANNOTATION_TYPE" />
260
-      <option name="ENV_VARIABLES" />
261
-      <option name="PASS_PARENT_ENVS" value="true" />
262
-      <option name="TEST_SEARCH_SCOPE">
263
-        <value defaultName="singleModule" />
264
-      </option>
265
-      <option name="USE_DEFAULT_REPORTERS" value="false" />
266
-      <option name="PROPERTIES_FILE" />
267
-      <envs />
268 407
       <properties />
269 408
       <listeners />
409
+      <method v="2">
410
+        <option name="Make" enabled="true" />
411
+      </method>
270 412
     </configuration>
271 413
     <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
272 414
       <module name="" />
273 415
       <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
274 416
       <option name="PROGRAM_PARAMETERS" />
275 417
       <predefined_log_file id="idea.log" enabled="true" />
418
+      <method v="2">
419
+        <option name="Make" enabled="true" />
420
+      </method>
276 421
     </configuration>
277
-  </component>
278
-  <component name="ShelveChangesManager" show_recycled="false">
279
-    <option name="remove_strategy" value="false" />
422
+    <list>
423
+      <item itemvalue="JUnit.ArrazTest.test2RemoveFirstItemAndCopy" />
424
+      <item itemvalue="JUnit.ArrazTest.testInsertAtStartAndCopy" />
425
+      <item itemvalue="JUnit.ArrazTest.test2InsertAtStartAndCopy" />
426
+      <item itemvalue="JUnit.ArrazTest.testSortArrayIntoEvensThenOdds" />
427
+      <item itemvalue="JUnit.ArrazTest.test2SortArrayIntoEvensThenOdds" />
428
+    </list>
429
+    <recent_temporary>
430
+      <list>
431
+        <item itemvalue="JUnit.ArrazTest.test2SortArrayIntoEvensThenOdds" />
432
+        <item itemvalue="JUnit.ArrazTest.testSortArrayIntoEvensThenOdds" />
433
+        <item itemvalue="JUnit.ArrazTest.test2InsertAtStartAndCopy" />
434
+        <item itemvalue="JUnit.ArrazTest.testInsertAtStartAndCopy" />
435
+        <item itemvalue="JUnit.ArrazTest.test2RemoveFirstItemAndCopy" />
436
+      </list>
437
+    </recent_temporary>
280 438
   </component>
281 439
   <component name="SvnConfiguration">
282 440
     <configuration />
@@ -291,6 +449,8 @@
291 449
       <workItem from="1543955862749" duration="2347000" />
292 450
       <workItem from="1543958998826" duration="113000" />
293 451
       <workItem from="1544020724645" duration="762000" />
452
+      <workItem from="1544047018545" duration="24022000" />
453
+      <workItem from="1544477036561" duration="5660000" />
294 454
     </task>
295 455
     <task id="LOCAL-00001" summary="readme and docs">
296 456
       <created>1544021313039</created>
@@ -302,39 +462,73 @@
302 462
     <option name="localTasksCounter" value="2" />
303 463
     <servers />
304 464
   </component>
465
+  <component name="TestHistory">
466
+    <history-entry file="ArrazTest_test2RemoveLastItemAndCopy - 2018.12.10 at 17h 32m 35s.xml">
467
+      <configuration name="ArrazTest.test2RemoveLastItemAndCopy" configurationId="JUnit" />
468
+    </history-entry>
469
+    <history-entry file="ArrazTest_testRemoveFirstItemAndCopy - 2018.12.10 at 17h 32m 38s.xml">
470
+      <configuration name="ArrazTest.testRemoveFirstItemAndCopy" configurationId="JUnit" />
471
+    </history-entry>
472
+    <history-entry file="ArrazTest_test2RemoveFirstItemAndCopy - 2018.12.10 at 17h 32m 41s.xml">
473
+      <configuration name="ArrazTest.test2RemoveFirstItemAndCopy" configurationId="JUnit" />
474
+    </history-entry>
475
+    <history-entry file="ArrazTest_test2RemoveFirstItemAndCopy - 2018.12.10 at 17h 33m 15s.xml">
476
+      <configuration name="ArrazTest.test2RemoveFirstItemAndCopy" configurationId="JUnit" />
477
+    </history-entry>
478
+    <history-entry file="ArrazTest_test2RemoveFirstItemAndCopy - 2018.12.10 at 17h 33m 24s.xml">
479
+      <configuration name="ArrazTest.test2RemoveFirstItemAndCopy" configurationId="JUnit" />
480
+    </history-entry>
481
+    <history-entry file="ArrazTest_testInsertAtStartAndCopy - 2018.12.10 at 17h 36m 24s.xml">
482
+      <configuration name="ArrazTest.testInsertAtStartAndCopy" configurationId="JUnit" />
483
+    </history-entry>
484
+    <history-entry file="ArrazTest_test2InsertAtStartAndCopy - 2018.12.10 at 17h 37m 19s.xml">
485
+      <configuration name="ArrazTest.test2InsertAtStartAndCopy" configurationId="JUnit" />
486
+    </history-entry>
487
+    <history-entry file="ArrazTest_testSortArrayIntoEvensThenOdds - 2018.12.10 at 17h 45m 45s.xml">
488
+      <configuration name="ArrazTest.testSortArrayIntoEvensThenOdds" configurationId="JUnit" />
489
+    </history-entry>
490
+    <history-entry file="ArrazTest_testSortArrayIntoEvensThenOdds - 2018.12.10 at 17h 48m 30s.xml">
491
+      <configuration name="ArrazTest.testSortArrayIntoEvensThenOdds" configurationId="JUnit" />
492
+    </history-entry>
493
+    <history-entry file="ArrazTest_test2SortArrayIntoEvensThenOdds - 2018.12.10 at 17h 49m 16s.xml">
494
+      <configuration name="ArrazTest.test2SortArrayIntoEvensThenOdds" configurationId="JUnit" />
495
+    </history-entry>
496
+  </component>
305 497
   <component name="TimeTrackingManager">
306
-    <option name="totallyTimeSpent" value="3222000" />
498
+    <option name="totallyTimeSpent" value="32904000" />
307 499
   </component>
308 500
   <component name="ToolWindowManager">
309
-    <frame x="242" y="45" width="1538" height="962" extended-state="0" />
501
+    <frame x="17" y="-1022" width="1833" height="1008" extended-state="0" />
310 502
     <editor active="true" />
311 503
     <layout>
312
-      <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="3" side_tool="false" content_ui="tabs" />
313
-      <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" />
314
-      <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="3" side_tool="false" content_ui="tabs" />
315
-      <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="2" side_tool="false" content_ui="tabs" />
316
-      <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="3" side_tool="false" content_ui="tabs" />
317
-      <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="7" side_tool="true" content_ui="tabs" />
318
-      <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="3" side_tool="false" content_ui="tabs" />
319
-      <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" />
320
-      <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="7" side_tool="false" content_ui="tabs" />
321
-      <window_info id="Terminal" 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="7" side_tool="false" content_ui="tabs" />
322
-      <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="2" side_tool="false" content_ui="tabs" />
323
-      <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="2" side_tool="false" content_ui="tabs" />
324
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2577389" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
325
-      <window_info id="Database" 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="3" side_tool="false" content_ui="tabs" />
326
-      <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" />
327
-      <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" />
328
-      <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="2" side_tool="false" content_ui="tabs" />
329
-      <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="3" side_tool="false" content_ui="tabs" />
330
-      <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" />
331
-      <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="2" side_tool="true" content_ui="tabs" />
332
-      <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" />
333
-      <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" />
334
-      <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" />
335
-      <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" />
336
-      <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" />
337
-      <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" />
504
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.13176996" />
505
+      <window_info id="Structure" order="1" weight="0.25" />
506
+      <window_info id="Image Layers" order="2" />
507
+      <window_info id="Designer" order="3" />
508
+      <window_info id="UI Designer" order="4" />
509
+      <window_info id="Capture Tool" order="5" />
510
+      <window_info id="Favorites" order="6" side_tool="true" />
511
+      <window_info anchor="bottom" id="Message" order="0" />
512
+      <window_info anchor="bottom" id="Find" order="1" />
513
+      <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.32969433" />
514
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.3995633" />
515
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
516
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
517
+      <window_info anchor="bottom" id="TODO" order="6" />
518
+      <window_info anchor="bottom" id="Terminal" order="7" />
519
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
520
+      <window_info anchor="bottom" id="Version Control" order="9" />
521
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
522
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.3264192" />
523
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
524
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
525
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
526
+      <window_info anchor="right" id="Palette" order="3" />
527
+      <window_info anchor="right" id="Capture Analysis" order="4" />
528
+      <window_info anchor="right" id="Theme Preview" order="5" />
529
+      <window_info anchor="right" id="Database" order="6" />
530
+      <window_info anchor="right" id="Palette&#9;" order="7" />
531
+      <window_info anchor="right" id="Maven Projects" order="8" />
338 532
     </layout>
339 533
   </component>
340 534
   <component name="TypeScriptGeneratedFilesManager">
@@ -347,119 +541,158 @@
347 541
     <MESSAGE value="readme and docs" />
348 542
     <option name="LAST_COMMIT_MESSAGE" value="readme and docs" />
349 543
   </component>
350
-  <component name="XDebuggerManager">
351
-    <breakpoint-manager />
352
-    <watches-manager />
353
-  </component>
354 544
   <component name="editorHistoryManager">
355
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
356
-      <provider selected="true" editor-type-id="text-editor">
357
-        <state relative-caret-position="0">
358
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
359
-          <folding />
360
-        </state>
361
-      </provider>
362
-    </entry>
363
-    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
545
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/util/Iterator.java">
364 546
       <provider selected="true" editor-type-id="text-editor">
365
-        <state relative-caret-position="0">
366
-          <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
367
-          <folding />
368
-        </state>
369
-      </provider>
370
-    </entry>
371
-    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
372
-      <provider selected="true" editor-type-id="text-editor">
373
-        <state relative-caret-position="34">
374
-          <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
375
-          <folding />
547
+        <state relative-caret-position="-173">
548
+          <caret line="53" column="17" selection-start-line="53" selection-start-column="17" selection-end-line="53" selection-end-column="17" />
376 549
         </state>
377 550
       </provider>
378 551
     </entry>
379 552
     <entry file="file://$PROJECT_DIR$/README.md">
380 553
       <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
381 554
         <state split_layout="SPLIT">
382
-          <first_editor relative-caret-position="1241">
383
-            <caret line="73" column="0" lean-forward="true" selection-start-line="73" selection-start-column="0" selection-end-line="73" selection-end-column="0" />
384
-            <folding />
555
+          <first_editor relative-caret-position="270">
556
+            <caret line="18" selection-start-line="18" selection-end-line="18" />
385 557
           </first_editor>
386 558
           <second_editor />
387 559
         </state>
388 560
       </provider>
389 561
     </entry>
390
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
562
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/MaxMin.java">
391 563
       <provider selected="true" editor-type-id="text-editor">
392
-        <state relative-caret-position="0">
393
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
394
-          <folding />
564
+        <state relative-caret-position="75">
565
+          <caret line="5" column="25" selection-start-line="5" selection-start-column="25" selection-end-line="5" selection-end-column="25" />
566
+          <folding>
567
+            <element signature="e#108#109#0" expanded="true" />
568
+          </folding>
395 569
         </state>
396 570
       </provider>
397 571
     </entry>
398
-    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
572
+    <entry file="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0.jar!/org/junit/internal/runners/TestMethodRunner.class">
399 573
       <provider selected="true" editor-type-id="text-editor">
400
-        <state relative-caret-position="0">
401
-          <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
402
-          <folding />
574
+        <state relative-caret-position="281">
575
+          <caret line="120" selection-start-line="120" selection-end-line="120" />
576
+          <folding>
577
+            <element signature="e#4039#4040#0" expanded="true" />
578
+            <element signature="e#4094#4095#0" expanded="true" />
579
+          </folding>
403 580
         </state>
404 581
       </provider>
405 582
     </entry>
406
-    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
583
+    <entry file="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0.jar!/org/junit/internal/runners/TestIntrospector.class">
407 584
       <provider selected="true" editor-type-id="text-editor">
408
-        <state relative-caret-position="34">
409
-          <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
410
-          <folding />
585
+        <state relative-caret-position="390">
586
+          <caret line="91" selection-start-line="91" selection-end-line="91" />
411 587
         </state>
412 588
       </provider>
413 589
     </entry>
414
-    <entry file="file://$PROJECT_DIR$/README.md">
415
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
416
-        <state split_layout="SPLIT">
417
-          <first_editor relative-caret-position="1241">
418
-            <caret line="73" column="0" lean-forward="true" selection-start-line="73" selection-start-column="0" selection-end-line="73" selection-end-column="0" />
419
-            <folding />
420
-          </first_editor>
421
-          <second_editor />
590
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/OddEven.java">
591
+      <provider selected="true" editor-type-id="text-editor">
592
+        <state relative-caret-position="90">
593
+          <caret line="6" column="5" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
594
+          <folding>
595
+            <element signature="e#100#101#0" expanded="true" />
596
+            <element signature="e#127#128#0" expanded="true" />
597
+            <element signature="e#156#157#0" expanded="true" />
598
+            <element signature="e#184#185#0" expanded="true" />
599
+          </folding>
422 600
         </state>
423 601
       </provider>
424 602
     </entry>
425 603
     <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
426
-      <provider selected="true" editor-type-id="text-editor">
427
-        <state relative-caret-position="0">
428
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
429
-          <folding />
430
-        </state>
431
-      </provider>
604
+      <provider selected="true" editor-type-id="text-editor" />
432 605
     </entry>
433 606
     <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
434 607
       <provider selected="true" editor-type-id="text-editor">
435
-        <state relative-caret-position="0">
436
-          <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
437
-          <folding />
608
+        <state relative-caret-position="432">
609
+          <caret line="235" column="24" selection-start-line="235" selection-start-column="24" selection-end-line="235" selection-end-column="24" />
610
+          <folding>
611
+            <element signature="e#3865#3874#0" expanded="true" />
612
+            <element signature="e#4052#4053#0" expanded="true" />
613
+            <element signature="e#4105#4106#0" expanded="true" />
614
+            <element signature="e#6152#6161#0" expanded="true" />
615
+            <element signature="e#6230#6239#0" expanded="true" />
616
+            <element signature="e#6442#6451#0" expanded="true" />
617
+          </folding>
438 618
         </state>
439 619
       </provider>
440 620
     </entry>
441 621
     <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
442 622
       <provider selected="true" editor-type-id="text-editor">
443
-        <state relative-caret-position="34">
444
-          <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
445
-          <folding />
446
-        </state>
447
-      </provider>
448
-    </entry>
449
-    <entry file="file://$PROJECT_DIR$/README.md">
450
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
451
-        <state split_layout="SPLIT">
452
-          <first_editor relative-caret-position="306">
453
-            <caret line="18" column="0" lean-forward="true" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
454
-            <folding />
455
-          </first_editor>
456
-          <second_editor />
623
+        <state relative-caret-position="432">
624
+          <caret line="448" column="59" lean-forward="true" selection-start-line="448" selection-start-column="59" selection-end-line="448" selection-end-column="59" />
625
+          <folding>
626
+            <element signature="imports" expanded="true" />
627
+            <element signature="e#8876#8877#0" expanded="true" />
628
+            <element signature="e#8912#8913#0" expanded="true" />
629
+          </folding>
457 630
         </state>
458 631
       </provider>
459 632
     </entry>
460 633
   </component>
461 634
   <component name="masterDetails">
462 635
     <states>
636
+      <state key="ArtifactsStructureConfigurable.UI">
637
+        <settings>
638
+          <artifact-editor />
639
+          <splitter-proportions>
640
+            <option name="proportions">
641
+              <list>
642
+                <option value="0.2" />
643
+              </list>
644
+            </option>
645
+          </splitter-proportions>
646
+        </settings>
647
+      </state>
648
+      <state key="FacetStructureConfigurable.UI">
649
+        <settings>
650
+          <last-edited>No facets are configured</last-edited>
651
+          <splitter-proportions>
652
+            <option name="proportions">
653
+              <list>
654
+                <option value="0.2" />
655
+              </list>
656
+            </option>
657
+          </splitter-proportions>
658
+        </settings>
659
+      </state>
660
+      <state key="GlobalLibrariesConfigurable.UI">
661
+        <settings>
662
+          <splitter-proportions>
663
+            <option name="proportions">
664
+              <list>
665
+                <option value="0.2" />
666
+              </list>
667
+            </option>
668
+          </splitter-proportions>
669
+        </settings>
670
+      </state>
671
+      <state key="JdkListConfigurable.UI">
672
+        <settings>
673
+          <last-edited>1.8</last-edited>
674
+          <splitter-proportions>
675
+            <option name="proportions">
676
+              <list>
677
+                <option value="0.2" />
678
+              </list>
679
+            </option>
680
+          </splitter-proportions>
681
+        </settings>
682
+      </state>
683
+      <state key="ModuleStructureConfigurable.UI">
684
+        <settings>
685
+          <last-edited>ArraysGoneWild</last-edited>
686
+          <splitter-proportions>
687
+            <option name="proportions">
688
+              <list>
689
+                <option value="0.2" />
690
+                <option value="0.6" />
691
+              </list>
692
+            </option>
693
+          </splitter-proportions>
694
+        </settings>
695
+      </state>
463 696
       <state key="ProjectJDKs.UI">
464 697
         <settings>
465 698
           <last-edited>1.8</last-edited>
@@ -472,6 +705,18 @@
472 705
           </splitter-proportions>
473 706
         </settings>
474 707
       </state>
708
+      <state key="ProjectLibrariesConfigurable.UI">
709
+        <settings>
710
+          <last-edited>Maven: junit:junit:4.0</last-edited>
711
+          <splitter-proportions>
712
+            <option name="proportions">
713
+              <list>
714
+                <option value="0.2" />
715
+              </list>
716
+            </option>
717
+          </splitter-proportions>
718
+        </settings>
719
+      </state>
475 720
     </states>
476 721
   </component>
477 722
 </project>

+ 237
- 1
arraz/src/main/java/Arraz.java Parādīt failu

@@ -1,2 +1,238 @@
1
-public class Arraz {
1
+import java.util.*;
2
+
3
+public class Arraz implements Iterator {
4
+
5
+
6
+    public int sumValuesOfArray(Integer[] array){
7
+        int sum = 0;
8
+        for(int i: array){
9
+            sum+= i;
10
+        }
11
+        return sum;
12
+    }
13
+
14
+    public double sumDoublesOfArray(double[] array){
15
+        double sum = 0;
16
+        for(double d: array){
17
+            sum+=d;
18
+        }
19
+        return sum;
20
+    }
21
+
22
+    public Integer averageOfArray(Integer[] array1) {
23
+        return sumValuesOfArray(array1)/array1.length;
24
+    }
25
+
26
+    public Double doubleAverageOfArray(double[] array3) {
27
+        return sumDoublesOfArray(array3)/array3.length;
28
+    }
29
+
30
+
31
+    public boolean containsValue(Integer[] array1, Integer i) {
32
+        for(Integer in: array1){
33
+            if(in == i){
34
+                return true;
35
+            }
36
+        }
37
+        return false;
38
+    }
39
+
40
+
41
+    public Integer[] reverseArray(Integer[] array1) {
42
+        Integer[] arr = new Integer[array1.length];
43
+        for(int i = 0; i<array1.length; i++){
44
+            arr[i] = array1[array1.length-i-1];
45
+        }
46
+        return arr;
47
+    }
48
+
49
+    public OddEven getOddEvensOfArray(Integer[] array1) {
50
+        OddEven oddEven = new OddEven();
51
+        for(Integer i: array1){
52
+            if(i%2==0){
53
+                oddEven.evens++;
54
+            }
55
+            else oddEven.odds++;
56
+        }
57
+        return oddEven;
58
+    }
59
+
60
+    public int findIndexOf(Integer[] array1, int i) {
61
+        for(int j =0; j<array1.length; j++){
62
+            if (array1[j] == i){
63
+                return j;
64
+            }
65
+        } return -1;
66
+    }
67
+
68
+    public Integer[] copyArrayByIterator(Integer[] array1) {
69
+        Integer[] copyArray = new Integer[array1.length];
70
+        Iterator<Integer>iterator = Arrays.asList(array1).iterator();
71
+        int c = 0;
72
+        while(iterator.hasNext()){
73
+            copyArray[c] = iterator.next();
74
+            c++;
75
+        }
76
+        return copyArray;
77
+    }
78
+
79
+    public Integer[] copyArrayByLoop(Integer[] array1) {
80
+        Integer[] array = new Integer[array1.length];
81
+        for (int i = 0; i < array1.length; i++) {
82
+            array[i] = array1[i];
83
+        }
84
+        return array;
85
+    }
86
+
87
+    public boolean hasNext() {
88
+        return false;
89
+    }
90
+
91
+    public Object next() {
92
+        return null;
93
+    }
94
+
95
+
96
+    public Integer[] removeElementFromArray(Integer[] array1, int i) {
97
+        int c = 0;
98
+        int count = numberOfOccurrences(array1, i);
99
+        Integer[]array = new Integer[array1.length-count];
100
+        for(int j = 0; j<array1.length; j++){
101
+            if(array1[j] == i){
102
+                c++;
103
+            }
104
+            else array[j-c] = array1[j];
105
+        }
106
+        return array;
107
+    }
108
+
109
+    public int numberOfOccurrences(Integer[] array1, int i) {
110
+        int count = 0;
111
+        for(Integer in: array1){
112
+            if(in == i){count++;}
113
+        }
114
+        return count;
115
+    }
116
+
117
+
118
+    public Integer[] insertIntoArrayAt(Integer[] array1, int value, int index) {
119
+        Integer[]array = new Integer[array1.length+1];
120
+        for(int i = 0; i<array.length; i++){
121
+            if(i<index){
122
+                array[i] = array1[i];
123
+            }
124
+            else if(i==index){
125
+                array[i] = value;
126
+            }
127
+            else array[i] = array1[i-1];
128
+        }
129
+        return array;
130
+    }
131
+
132
+
133
+    public MaxMin findMaxMinOfArray(Integer[] array1) {
134
+        Arrays.sort(array1);
135
+        MaxMin maxMin = new MaxMin();
136
+        maxMin.setMin(array1[0]);
137
+        maxMin.setMax(array1[array1.length-1]);
138
+        return maxMin;
139
+    }
140
+
141
+
142
+    public double find2ndLargestFromArray(double[] array3) {
143
+        Arrays.sort(array3);
144
+        for(int i = array3.length -1; i>0; i--){
145
+            if (array3[i] != array3[i-1]){
146
+                return array3[i-1];
147
+            }
148
+        }
149
+        return 0;
150
+    }
151
+
152
+
153
+    public ArrayList<Integer> makeMeAnArrayList(Integer[] array1) {
154
+        ArrayList<Integer> arrayList = new ArrayList<Integer>(array1.length);
155
+        arrayList.addAll(Arrays.asList(array1));
156
+        return arrayList;
157
+    }
158
+
159
+
160
+    public boolean check2ArraysForEquals(Integer[] array1, Integer[] array11) {
161
+        return Arrays.equals(array1, array11);
162
+    }
163
+
164
+
165
+    public int averageOfArrayWithoutMaxMin(Integer[] array1) {
166
+        int max = findMaxMinOfArray(array1).getMax();
167
+        int min = findMaxMinOfArray(array1).getMin();
168
+        Integer[]arr1 = removeElementFromArray(array1, max);
169
+        Integer[]arr2=removeElementFromArray(arr1, min);
170
+        return averageOfArray(arr2);
171
+    }
172
+
173
+    public boolean contains65and77(Integer[] array6577) {
174
+        return containsValue(array6577, 65) && containsValue(array6577, 77);
175
+    }
176
+
177
+    public boolean theTotalOfTensIs30(Integer[] array10) {
178
+        if(containsValue(array10, 10) && numberOfOccurrences(array10, 10) == 3){
179
+            return true;
180
+        } return false;
181
+    }
182
+
183
+    public Integer[] smallestAndSecondSmallest(Integer[] array1) {
184
+        Integer[] arr = new Integer[2];
185
+        Arrays.sort(array1);
186
+        arr[0] = array1[0];
187
+        for(int i = 0; i<array1.length; i++){
188
+            if (array1[i] != array1[i+1]){
189
+                arr[1] = array1[i+1];
190
+                break;
191
+            }
192
+        }
193
+        return arr;
194
+    }
195
+
196
+    public Integer[] makeMeACopyPlease(Integer[] array1) {
197
+        Integer[]arr = new Integer[array1.length];
198
+        for(int i = 0; i<array1.length; i++){
199
+            arr[i] = array1[array1.length-1-i];
200
+        }
201
+        return arr;
202
+    }
203
+
204
+
205
+    public Integer[] removeLastItemAndCopy(Integer[] array1) {
206
+        Integer in = array1[array1.length-1];
207
+        Integer[] arr = removeElementFromArray(array1, in);
208
+        return copyArrayByIterator(arr);
209
+    }
210
+
211
+    public Integer[] removeFirstItemAndCopy(Integer[] array1) {
212
+        Integer in = array1[0];
213
+        Integer[] arr = removeElementFromArray(array1, in);
214
+        return copyArrayByIterator(arr);
215
+    }
216
+
217
+    public Integer[] insertAtStartAndCopy(Integer[] array2, int i) {
218
+        Integer[] arr = insertIntoArrayAt(array2, i, 0);
219
+        return copyArrayByIterator(arr);
220
+    }
221
+
222
+    public Integer[] sortArrayIntoEvensThenOdds(Integer[] array1) {
223
+        OddEven oddEven = getOddEvensOfArray(array1);
224
+        ArrayList<Integer> evens = new ArrayList<Integer>(oddEven.getEvens());
225
+        ArrayList<Integer> odds = new ArrayList<Integer>(oddEven.getOdds());
226
+        for(Integer i: array1){
227
+            if(i%2==0){
228
+                evens.add(i);
229
+            } else odds.add(i);
230
+        }
231
+        ArrayList<Integer>evensAndOdds = new ArrayList<Integer>(array1.length);
232
+        evensAndOdds.addAll(evens);
233
+        evensAndOdds.addAll(odds);
234
+        Integer[] evenOdds = new Integer[array1.length];
235
+        evenOdds = evensAndOdds.toArray(evenOdds);
236
+        return evenOdds;
237
+    }
2 238
 }

+ 21
- 0
arraz/src/main/java/MaxMin.java Parādīt failu

@@ -0,0 +1,21 @@
1
+public class MaxMin {
2
+
3
+    int max = 0;
4
+    int min = 0;
5
+
6
+    public int getMax() {
7
+        return max;
8
+    }
9
+
10
+    public void setMax(int max) {
11
+        this.max = max;
12
+    }
13
+
14
+    public int getMin() {
15
+        return min;
16
+    }
17
+
18
+    public void setMin(int min) {
19
+        this.min = min;
20
+    }
21
+}

+ 12
- 0
arraz/src/main/java/OddEven.java Parādīt failu

@@ -0,0 +1,12 @@
1
+public class OddEven {
2
+    public int odds = 0;
3
+    public int evens = 0;
4
+
5
+    public int getOdds() {
6
+        return odds;
7
+    }
8
+
9
+    public int getEvens() {
10
+        return evens;
11
+    }
12
+}

+ 448
- 1
arraz/src/test/java/ArrazTest.java Parādīt failu

@@ -1,5 +1,452 @@
1
-import static org.junit.Assert.*;
1
+import junit.framework.Assert;
2
+import org.junit.Before;
3
+import org.junit.Test;
4
+
5
+import java.util.ArrayList;
6
+import java.util.Arrays;
2 7
 
3 8
 public class ArrazTest {
4 9
 
10
+    Arraz arraz = new Arraz();
11
+
12
+    Integer[] array1;
13
+    Integer[] array2;
14
+    double[] array3;
15
+    double[] array4;
16
+    Integer[] array5;
17
+    double[] doubles;
18
+
19
+    @Before
20
+    public void setup(){
21
+        array1 = new Integer[]{1, 2, 3, 4, 5};
22
+        array2 = new Integer[]{6,7,8,9,10};
23
+        array3 = new double[]{2.5,3.14,1.5};
24
+        array4 = new double[]{1.1,1.2,1.3};
25
+        array5 = new Integer[]{5, 10, 3, 29, 42};
26
+        doubles = new double[]{1.2, 1.3, 1.4, 1.4};
27
+    }
28
+
29
+    @Test
30
+    public void test1sumValuesOfArray(){
31
+        int actual = arraz.sumValuesOfArray(array1);
32
+        int expected = 15;
33
+
34
+        Assert.assertEquals(expected, actual);
35
+    }
36
+
37
+    @Test
38
+    public void test2sumValuesOfArray(){
39
+        int actual = arraz.sumValuesOfArray(array2);
40
+        int expected = 40;
41
+
42
+        Assert.assertEquals(expected, actual);
43
+    }
44
+
45
+    @Test
46
+    public void test1sumDoublesOfArray(){
47
+        double actual = arraz.sumDoublesOfArray(array3);
48
+        double expected = 7.14;
49
+
50
+        Assert.assertEquals(expected, actual, 1);
51
+    }
52
+
53
+    @Test
54
+    public void test2sumDoublesOfArray(){
55
+        double actual = arraz.sumDoublesOfArray(array4);
56
+        double expected = 3.6;
57
+
58
+        Assert.assertEquals(expected, actual, 2);
59
+    }
60
+
61
+    @Test
62
+    public void test1averageOfArray(){
63
+        Integer actual = arraz.averageOfArray(array1);
64
+        Integer expected = 3;
65
+
66
+        Assert.assertEquals(expected, actual);
67
+    }
68
+
69
+    @Test
70
+    public void test2averageOfArray(){
71
+        Integer actual = arraz.averageOfArray(array2);
72
+        Integer expected = 8;
73
+
74
+        Assert.assertEquals(actual, expected);
75
+    }
76
+
77
+    @Test
78
+    public void test1doubleAverageOfArray(){
79
+        Double actual = arraz.doubleAverageOfArray(array3);
80
+        Double expected = 2.38;
81
+
82
+        Assert.assertEquals(expected, actual, 1);
83
+    }
84
+
85
+    @Test
86
+    public void test2doubleAverageOfArray(){
87
+        Double actual = arraz.doubleAverageOfArray(array4);
88
+        Double expected = 1.2;
89
+
90
+        Assert.assertEquals(expected, actual, 1);
91
+    }
92
+
93
+    @Test
94
+    public void testContainsValue(){
95
+        Assert.assertTrue(arraz.containsValue(array1, 1));
96
+    }
97
+
98
+    @Test
99
+    public void test2ContainsValue(){
100
+        Assert.assertFalse(arraz.containsValue(array1, 6));
101
+    }
102
+
103
+    @Test
104
+    public void testReverseArray(){
105
+        Integer[] actual = arraz.reverseArray(array1);
106
+        Integer[] expected = {5,4,3,2,1};
107
+
108
+        for(int i = 0; i<array1.length; i++) {
109
+            Assert.assertEquals(actual[i], expected[i]);
110
+        }
111
+    }
112
+
113
+    @Test
114
+    public void test2ReverseArray(){
115
+        Integer[] actual = arraz.reverseArray(array2);
116
+        Integer[] expected = {10,9,8,7,6};
117
+
118
+        for(int i = 0; i<array1.length; i++) {
119
+            Assert.assertEquals(actual[i], expected[i]);
120
+        }
121
+    }
122
+
123
+    @Test
124
+    public void testGetOddEvensOfArray(){
125
+        OddEven actual = arraz.getOddEvensOfArray(array1);
126
+        int actualOdds = actual.getOdds();
127
+        int actualEvens = actual.getEvens();
128
+
129
+        int expectedOdds = 3;
130
+        int expectedEvens = 2;
131
+
132
+        Assert.assertEquals(expectedEvens, actualEvens);
133
+        Assert.assertEquals(expectedOdds, actualOdds);
134
+    }
135
+
136
+    @Test
137
+    public void test2GetOddEvensOfArray(){
138
+        OddEven actual = arraz.getOddEvensOfArray(array2);
139
+        int actualOdds = actual.getOdds();
140
+        int actualEvens = actual.getEvens();
141
+
142
+        int expectedOdds = 2;
143
+        int expectedEvens = 3;
144
+
145
+        Assert.assertEquals(expectedEvens, actualEvens);
146
+        Assert.assertEquals(expectedOdds, actualOdds);
147
+    }
148
+
149
+    @Test
150
+    public void testFindIndexOf(){
151
+        int actual = arraz.findIndexOf(array1, 1);
152
+        int expected = 0;
153
+
154
+        Assert.assertEquals(expected, actual);
155
+    }
156
+
157
+    @Test
158
+    public void test2FindIndexOf(){
159
+        int actual = arraz.findIndexOf(array1, 3);
160
+        int expected = 2;
161
+
162
+        Assert.assertEquals(expected, actual);
163
+    }
164
+
165
+    @Test
166
+    public void test3FindIndexOf(){
167
+        int actual = arraz.findIndexOf(array1, 8);
168
+        int expected = -1;
169
+
170
+        Assert.assertEquals(expected, actual);
171
+    }
172
+
173
+
174
+    @Test
175
+    public void testCopyArrayByIterator(){
176
+        Integer[] actualCopy = arraz.copyArrayByIterator(array1);
177
+        Integer[] expectedCopy = array1.clone();
178
+
179
+        for(int i = 0; i<array1.length; i++) {
180
+            Assert.assertEquals(actualCopy[i], expectedCopy[i]);
181
+        }
182
+    }
183
+
184
+    @Test
185
+    public void test2CopyArrayByIterator(){
186
+        Integer[] actualCopy = arraz.copyArrayByIterator(array1);
187
+        Integer[] expectedCopy = array1.clone();
188
+
189
+        Assert.assertTrue(Arrays.equals(expectedCopy, actualCopy));
190
+    }
191
+
192
+    @Test
193
+    public void testCopyArrayByLoop(){
194
+        Integer[] actualCopy = arraz.copyArrayByLoop(array1);
195
+        Integer[] expectedCopy = array1.clone();
196
+
197
+        for(int i = 0; i<array1.length; i++) {
198
+            Assert.assertEquals(actualCopy[i], expectedCopy[i]);
199
+        }
200
+    }
201
+
202
+    @Test
203
+    public void test2CopyArrayByLoop(){
204
+        Integer[] actualCopy = arraz.copyArrayByLoop(array1);
205
+        Integer[] expectedCopy = array1.clone();
206
+
207
+        Assert.assertTrue(Arrays.equals(expectedCopy, actualCopy));
208
+    }
209
+
210
+    @Test
211
+    public void testRemoveElementFromArray(){
212
+        Integer[] actual = arraz.removeElementFromArray(array1, 1);
213
+        Integer[] expected = {2,3,4,5};
214
+
215
+        Assert.assertTrue(Arrays.equals(actual, expected));
216
+    }
217
+
218
+    @Test
219
+    public void test2RemoveElementFromArray(){
220
+        Integer[] actual = arraz.removeElementFromArray(array2,6);
221
+        Integer[] expected = {7,8,9,10};
222
+
223
+        Assert.assertTrue(Arrays.equals(expected, actual));
224
+    }
225
+
226
+    @Test
227
+    public void testNumberOfOccurrences(){
228
+        int actual = arraz.numberOfOccurrences(array1, 1);
229
+        int expected = 1;
230
+
231
+        Assert.assertEquals(expected, actual);
232
+    }
233
+
234
+    @Test
235
+    public void testInsertIntoArrayAt(){
236
+        Integer[] actual = arraz.insertIntoArrayAt(array1, 3,3);
237
+        Integer[] expected = {1,2,3,3,4,5};
238
+
239
+        Assert.assertTrue(Arrays.equals(expected, actual));
240
+    }
241
+
242
+    @Test
243
+    public void test2InsertIntoArrayAt(){
244
+        Integer[] actual = arraz.insertIntoArrayAt(array2, 9,0);
245
+        Integer[] expected = {9,6,7,8,9,10};
246
+
247
+        Assert.assertTrue(Arrays.equals(expected, actual));
248
+    }
249
+
250
+    @Test
251
+    public void testFindMaxMinOfArray(){
252
+        MaxMin actual = arraz.findMaxMinOfArray(array5);
253
+        int actualMax = actual.getMax();
254
+        int actualMin = actual.getMin();
255
+
256
+        int expectedMax = 42;
257
+        int expectedMin = 3;
258
+
259
+        Assert.assertEquals(expectedMax, actualMax);
260
+        Assert.assertEquals(expectedMin, actualMin);
261
+    }
262
+
263
+    @Test
264
+    public void test2FindMaxMinOfArray() {
265
+        MaxMin actual = arraz.findMaxMinOfArray(array2);
266
+        int actualMax = actual.getMax();
267
+        int actualMin = actual.getMin();
268
+
269
+        int expectedMax = 10;
270
+        int expectedMin = 6;
271
+
272
+        Assert.assertEquals(expectedMax, actualMax);
273
+        Assert.assertEquals(expectedMin, actualMin);
274
+    }
275
+
276
+    @Test
277
+    public void testFind2ndLargestValueFromArray(){
278
+        double actual = arraz.find2ndLargestFromArray(array3);
279
+        double expected = 2.5;
280
+
281
+        Assert.assertEquals(expected, actual, 1);
282
+    }
283
+
284
+    @Test
285
+    public void test2Find2ndLargestValueFromArray(){
286
+        double actual = arraz.find2ndLargestFromArray(doubles);
287
+        double expected = 1.3;
288
+
289
+        Assert.assertEquals(expected, actual, 1);
290
+    }
291
+
292
+    @Test
293
+    public void testMakeMeAnArrayList(){
294
+        ArrayList<Integer> acutalList = arraz.makeMeAnArrayList(array1);
295
+        ArrayList<Integer> expected = new ArrayList<Integer>(5);
296
+        for(Integer i: array1){
297
+            expected.add(i);
298
+        }
299
+
300
+
301
+        Assert.assertTrue(acutalList.equals(expected));
302
+    }
303
+
304
+    @Test
305
+    public void testCheck2ArraysForEqual(){
306
+        boolean boo = arraz.check2ArraysForEquals(array1, array1);
307
+        Assert.assertTrue(boo);
308
+    }
309
+
310
+    @Test
311
+    public void test2Check2Arrays(){
312
+        boolean boo = arraz.check2ArraysForEquals(array2, array1);
313
+        Assert.assertFalse(boo);
314
+    }
315
+
316
+    @Test
317
+    public void testAverageArrayWithoutMaxMin(){
318
+        int actualAvg = arraz.averageOfArrayWithoutMaxMin(array1);
319
+        int expectedAvg = 3;
320
+
321
+        Assert.assertEquals(expectedAvg, actualAvg);
322
+    }
323
+
324
+    @Test
325
+    public void test2AverageArrayWOutMaxMin(){
326
+        int actual = arraz.averageOfArrayWithoutMaxMin(array5);
327
+        int expected = 14;
328
+
329
+        Assert.assertEquals(expected, actual);
330
+    }
331
+
332
+    @Test
333
+    public void testArrayHas65and77(){
334
+        Integer[] array6577 = {65, 77};
335
+        Assert.assertTrue(arraz.contains65and77(array6577));
336
+    }
337
+
338
+    @Test
339
+    public void test2ArrayHas65and77(){
340
+        Assert.assertFalse(arraz.contains65and77(array1));
341
+    }
342
+
343
+    @Test
344
+    public void testTheTotalOfTensIs30(){
345
+        Integer[]array10 = {10, 10, 10};
346
+        Assert.assertTrue(arraz.theTotalOfTensIs30(array10));
347
+    }
348
+
349
+    @Test
350
+    public void test2TotalOfTensIs30(){
351
+        Integer[]array11 = {5, 10, 15, 10, 25, 10, 35, 10};
352
+        Assert.assertFalse(arraz.theTotalOfTensIs30(array11));
353
+    }
354
+
355
+    @Test
356
+    public void testSmallestAndSecondSmallest(){
357
+        Integer[] expected = {1,2};
358
+        Integer[] actual = arraz.smallestAndSecondSmallest(array1);
359
+
360
+        Assert.assertTrue(Arrays.equals(expected, actual));
361
+    }
362
+
363
+    @Test
364
+    public void test2SmallestAndSecondSmallest(){
365
+        Integer[] arr = {1,1,2,3};
366
+        Integer[] expected = {1,2};
367
+        Integer[] actual = arraz.smallestAndSecondSmallest(arr);
368
+
369
+        Assert.assertTrue(Arrays.equals(expected, actual));
370
+    }
371
+
372
+    @Test
373
+    public void testMakeMeACopyPlease(){
374
+        Integer[] expected = {5,4,3,2,1};
375
+        Integer[] actual = arraz.makeMeACopyPlease(array1);
376
+
377
+        Assert.assertTrue(Arrays.equals(expected, actual));
378
+    }
379
+
380
+    @Test
381
+    public void test2MakeMeACopyPlease(){
382
+        Integer[] expected = {10,9,8,7,6};
383
+        Integer[] actual = arraz.makeMeACopyPlease(array2);
384
+
385
+        Assert.assertTrue(Arrays.equals(expected, actual));
386
+    }
387
+
388
+    @Test
389
+    public void testRemoveLastItemAndCopy(){
390
+        Integer[] expected = {1,2,3,4};
391
+        Integer[] actual = arraz.removeLastItemAndCopy(array1);
392
+
393
+        Assert.assertTrue(Arrays.equals(expected, actual));
394
+    }
395
+
396
+    @Test
397
+    public void test2RemoveLastItemAndCopy(){
398
+        Integer[] expected = {6,7,8,9};
399
+        Integer[] actual = arraz.removeLastItemAndCopy(array2);
400
+
401
+        Assert.assertTrue(Arrays.equals(expected, actual));
402
+    }
403
+
404
+    @Test
405
+    public void testRemoveFirstItemAndCopy(){
406
+        Integer[] expected = {7,8,9,10};
407
+        Integer[] actual = arraz.removeFirstItemAndCopy(array2);
408
+
409
+        Assert.assertTrue(Arrays.equals(expected, actual));
410
+    }
411
+
412
+    @Test
413
+    public void test2RemoveFirstItemAndCopy(){
414
+        Integer[] expected = {2,3,4,5};
415
+        Integer[] actual = arraz.removeFirstItemAndCopy(array1);
416
+
417
+        Assert.assertTrue(Arrays.equals(expected, actual));
418
+    }
419
+
420
+    @Test
421
+    public void testInsertAtStartAndCopy(){
422
+        Integer[] expected = {5,6,7,8,9,10};
423
+        Integer[] actual = arraz.insertAtStartAndCopy(array2, 5);
424
+
425
+        Assert.assertTrue(Arrays.equals(expected, actual));
426
+    }
427
+
428
+    @Test
429
+    public void test2InsertAtStartAndCopy(){
430
+        Integer[] expected = {5,1,2,3,4,5};
431
+        Integer[] actual = arraz.insertAtStartAndCopy(array1, 5);
432
+
433
+        Assert.assertTrue(Arrays.equals(expected, actual));
434
+    }
435
+
436
+    @Test
437
+    public void testSortArrayIntoEvensThenOdds(){
438
+        Integer[] expected = {2,4,1,3,5};
439
+        Integer[] actual = arraz.sortArrayIntoEvensThenOdds(array1);
440
+
441
+        Assert.assertTrue(Arrays.equals(expected, actual));
442
+    }
443
+
444
+    @Test
445
+    public void test2SortArrayIntoEvensThenOdds(){
446
+        Integer[] expected = {6,8,10,7,9};
447
+        Integer[] actual = arraz.sortArrayIntoEvensThenOdds(array2);
448
+
449
+        Assert.assertTrue(Arrays.equals(expected, actual));
450
+    }
451
+
5 452
 }