Yesoda Sanka 6 anni fa
parent
commit
a20b6ea574

+ 1
- 0
.idea/misc.xml Vedi File

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

+ 365
- 224
.idea/workspace.xml Vedi File

@@ -2,69 +2,120 @@
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$/arraz/.idea/compiler.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/arraz/.idea/misc.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/arraz/.idea/vcs.xml" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/arraz/src/main/java/MaxMin.java" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/arraz/src/main/java/OddEven.java" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/arraz/arraz.iml" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/arraz.iml" afterDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" afterDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" afterDir="false" />
7 15
     </list>
8 16
     <ignored path="$PROJECT_DIR$/arraz/target/" />
9 17
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
-    <option name="TRACKING_ENABLED" value="true" />
11 18
     <option name="SHOW_DIALOG" value="false" />
12 19
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
13 20
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
14 21
     <option name="LAST_RESOLUTION" value="IGNORE" />
15 22
   </component>
23
+  <component name="FUSProjectUsageTrigger">
24
+    <session id="678239703">
25
+      <usages-collector id="statistics.lifecycle.project">
26
+        <counts>
27
+          <entry key="project.open.time.15" value="1" />
28
+          <entry key="project.opened" value="1" />
29
+        </counts>
30
+      </usages-collector>
31
+      <usages-collector id="statistics.file.types.edit">
32
+        <counts>
33
+          <entry key="JAVA" value="10640" />
34
+        </counts>
35
+      </usages-collector>
36
+      <usages-collector id="statistics.file.types.open">
37
+        <counts>
38
+          <entry key="JAVA" value="3" />
39
+        </counts>
40
+      </usages-collector>
41
+    </session>
42
+  </component>
16 43
   <component name="FileEditorManager">
17 44
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="375">
18
-      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
45
+      <file pinned="false" current-in-tab="false">
19 46
         <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
47
+          <provider selected="true" editor-type-id="text-editor" />
48
+        </entry>
49
+      </file>
50
+      <file pinned="false" current-in-tab="true">
51
+        <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
20 52
           <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 />
53
+            <state relative-caret-position="183">
54
+              <caret line="321" column="28" selection-start-line="321" selection-start-column="11" selection-end-line="321" selection-end-column="28" />
55
+              <folding>
56
+                <element signature="imports" expanded="true" />
57
+                <element signature="e#2065#2074#0" expanded="true" />
58
+                <element signature="e#3099#3108#0" expanded="true" />
59
+                <element signature="e#3123#3132#0" expanded="true" />
60
+                <element signature="e#4179#4188#0" expanded="true" />
61
+                <element signature="e#8411#8420#0" expanded="true" />
62
+                <element signature="e#9043#9052#0" expanded="true" />
63
+                <element signature="e#9100#9109#0" expanded="true" />
64
+              </folding>
24 65
             </state>
25 66
           </provider>
26 67
         </entry>
27 68
       </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">
69
+      <file pinned="false" current-in-tab="false">
70
+        <entry file="file://$PROJECT_DIR$/arraz/src/main/java/OddEven.java">
30 71
           <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 />
72
+            <state relative-caret-position="174">
73
+              <caret line="16" column="5" lean-forward="true" selection-start-line="16" selection-start-column="5" selection-end-line="16" selection-end-column="5" />
34 74
             </state>
35 75
           </provider>
36 76
         </entry>
37 77
       </file>
38
-      <file leaf-file-name="ArrazTest.java" pinned="false" current-in-tab="false">
78
+      <file pinned="false" current-in-tab="false">
39 79
         <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
40 80
           <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 />
81
+            <state relative-caret-position="240">
82
+              <caret line="293" column="9" lean-forward="true" selection-start-line="293" selection-start-column="9" selection-end-line="293" selection-end-column="9" />
83
+              <folding>
84
+                <element signature="imports" expanded="true" />
85
+                <element signature="e#4997#5006#0" expanded="true" />
86
+              </folding>
44 87
             </state>
45 88
           </provider>
46 89
         </entry>
47 90
       </file>
48
-      <file leaf-file-name="README.md" pinned="false" current-in-tab="true">
91
+      <file pinned="false" current-in-tab="false">
49 92
         <entry file="file://$PROJECT_DIR$/README.md">
50 93
           <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 />
94
+            <state split_layout="SECOND">
95
+              <first_editor relative-caret-position="161">
96
+                <caret line="57" column="58" selection-start-line="57" selection-start-column="58" selection-end-line="57" selection-end-column="86" />
55 97
               </first_editor>
56 98
               <second_editor />
57 99
             </state>
58 100
           </provider>
59 101
         </entry>
60 102
       </file>
103
+      <file pinned="false" current-in-tab="false">
104
+        <entry file="file://$PROJECT_DIR$/arraz/src/main/java/MaxMin.java">
105
+          <provider selected="true" editor-type-id="text-editor">
106
+            <state relative-caret-position="30">
107
+              <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
108
+            </state>
109
+          </provider>
110
+        </entry>
111
+      </file>
61 112
     </leaf>
62 113
   </component>
63 114
   <component name="FileTemplateManagerImpl">
64 115
     <option name="RECENT_TEMPLATES">
65 116
       <list>
66
-        <option value="Class" />
67 117
         <option value="JUnit4 Test Class" />
118
+        <option value="Class" />
68 119
       </list>
69 120
     </option>
70 121
   </component>
@@ -72,9 +123,6 @@
72 123
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
73 124
   </component>
74 125
   <component name="GradleLocalSettings">
75
-    <option name="externalProjectsViewState">
76
-      <projects_view />
77
-    </option>
78 126
     <option name="projectSyncType">
79 127
       <map>
80 128
         <entry key="$USER_HOME$/GitHub/gs-gradle/initial" value="PREVIEW" />
@@ -84,8 +132,11 @@
84 132
   <component name="IdeDocumentHistory">
85 133
     <option name="CHANGED_PATHS">
86 134
       <list>
87
-        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
88 135
         <option value="$PROJECT_DIR$/README.md" />
136
+        <option value="$PROJECT_DIR$/arraz/src/main/java/MaxMin.java" />
137
+        <option value="$PROJECT_DIR$/arraz/src/main/java/OddEven.java" />
138
+        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
139
+        <option value="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" />
89 140
       </list>
90 141
     </option>
91 142
   </component>
@@ -103,26 +154,17 @@
103 154
     </option>
104 155
   </component>
105 156
   <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" />
157
+    <option name="y" value="23" />
158
+    <option name="width" value="1280" />
159
+    <option name="height" value="717" />
110 160
   </component>
111 161
   <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 />
162
+    <navigator proportions="" version="1">
123 163
       <foldersAlwaysOnTop value="true" />
124 164
     </navigator>
125 165
     <panes>
166
+      <pane id="PackagesPane" />
167
+      <pane id="Scope" />
126 168
       <pane id="ProjectPane">
127 169
         <subPane>
128 170
           <expand>
@@ -151,27 +193,50 @@
151 193
             <path>
152 194
               <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
153 195
               <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
196
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
197
+              <item name="src" type="462c0819:PsiDirectoryNode" />
198
+              <item name="main" type="462c0819:PsiDirectoryNode" />
199
+              <item name="java" type="462c0819:PsiDirectoryNode" />
200
+            </path>
201
+            <path>
202
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
203
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
204
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
205
+              <item name="src" type="462c0819:PsiDirectoryNode" />
206
+              <item name="test" type="462c0819:PsiDirectoryNode" />
207
+            </path>
208
+            <path>
209
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
210
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
211
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
212
+              <item name="src" type="462c0819:PsiDirectoryNode" />
213
+              <item name="test" type="462c0819:PsiDirectoryNode" />
214
+              <item name="java" type="462c0819:PsiDirectoryNode" />
215
+            </path>
216
+            <path>
217
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
218
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
154 219
               <item name="DocumentationOnArrays" type="462c0819:PsiDirectoryNode" />
155 220
             </path>
156 221
           </expand>
157 222
           <select />
158 223
         </subPane>
159 224
       </pane>
160
-      <pane id="Scratches" />
161
-      <pane id="PackagesPane" />
162 225
       <pane id="AndroidView" />
163
-      <pane id="Scope" />
164 226
     </panes>
165 227
   </component>
166 228
   <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" />
229
+    <property name="GO_FMT" value="false" />
169 230
     <property name="WebServerToolWindowFactoryState" value="false" />
170 231
     <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" />
173 232
     <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit4" />
174
-    <property name="GO_FMT" value="false" />
233
+    <property name="jdk.selected.JAVA_MODULE" value="1.8" />
234
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
235
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
236
+    <property name="project.structure.last.edited" value="Project" />
237
+    <property name="project.structure.proportion" value="0.15" />
238
+    <property name="project.structure.side.proportion" value="0.0" />
239
+    <property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
175 240
   </component>
176 241
   <component name="RecentsManager">
177 242
     <key name="CreateTestDialog.RecentsKey">
@@ -193,90 +258,113 @@
193 258
       </list>
194 259
     </option>
195 260
   </component>
196
-  <component name="RunManager">
261
+  <component name="RunManager" selected="JUnit.ArrazTest.testfirstremoveCopy">
197 262
     <configuration default="true" type="Applet" factoryName="Applet">
198
-      <option name="WIDTH" value="400" />
199
-      <option name="HEIGHT" value="300" />
200 263
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
201
-      <module />
264
+      <method v="2">
265
+        <option name="Make" enabled="true" />
266
+      </method>
202 267
     </configuration>
203 268
     <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 269
       <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 />
270
+      <method v="2">
271
+        <option name="Make" enabled="true" />
272
+      </method>
216 273
     </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" />
274
+    <configuration name="ArrazTest.testDuplicate" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
275
+      <module name="arraz" />
276
+      <option name="PACKAGE_NAME" value="" />
277
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
278
+      <option name="METHOD_NAME" value="testDuplicate" />
279
+      <option name="TEST_OBJECT" value="method" />
280
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
281
+      <method v="2">
282
+        <option name="Make" enabled="true" />
283
+      </method>
284
+    </configuration>
285
+    <configuration name="ArrazTest.testavg" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
286
+      <module name="arraz" />
287
+      <option name="PACKAGE_NAME" value="" />
288
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
289
+      <option name="METHOD_NAME" value="testavg" />
290
+      <option name="TEST_OBJECT" value="method" />
228 291
       <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 />
292
+      <method v="2">
293
+        <option name="Make" enabled="true" />
294
+      </method>
236 295
     </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" />
296
+    <configuration name="ArrazTest.testfirstremoveCopy" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
297
+      <module name="arraz" />
298
+      <option name="PACKAGE_NAME" value="" />
299
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
300
+      <option name="METHOD_NAME" value="testfirstremoveCopy" />
301
+      <option name="TEST_OBJECT" value="method" />
302
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
303
+      <method v="2">
304
+        <option name="Make" enabled="true" />
305
+      </method>
306
+    </configuration>
307
+    <configuration name="ArrazTest.testinsertvalue" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
308
+      <module name="arraz" />
309
+      <option name="PACKAGE_NAME" value="" />
310
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
311
+      <option name="METHOD_NAME" value="testinsertvalue" />
312
+      <option name="TEST_OBJECT" value="method" />
313
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
314
+      <method v="2">
315
+        <option name="Make" enabled="true" />
316
+      </method>
317
+    </configuration>
318
+    <configuration name="ArrazTest.testremovevalue" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
319
+      <module name="arraz" />
320
+      <option name="PACKAGE_NAME" value="" />
321
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
322
+      <option name="METHOD_NAME" value="testremovevalue" />
323
+      <option name="TEST_OBJECT" value="method" />
324
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
325
+      <method v="2">
326
+        <option name="Make" enabled="true" />
327
+      </method>
328
+    </configuration>
329
+    <configuration default="true" type="JUnit" factoryName="JUnit">
330
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
331
+      <method v="2">
332
+        <option name="Make" enabled="true" />
333
+      </method>
243 334
     </configuration>
244 335
     <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 336
       <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 337
       <properties />
269 338
       <listeners />
339
+      <method v="2">
340
+        <option name="Make" enabled="true" />
341
+      </method>
270 342
     </configuration>
271 343
     <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
272 344
       <module name="" />
273 345
       <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
274 346
       <option name="PROGRAM_PARAMETERS" />
275 347
       <predefined_log_file id="idea.log" enabled="true" />
348
+      <method v="2">
349
+        <option name="Make" enabled="true" />
350
+      </method>
276 351
     </configuration>
277
-  </component>
278
-  <component name="ShelveChangesManager" show_recycled="false">
279
-    <option name="remove_strategy" value="false" />
352
+    <list>
353
+      <item itemvalue="JUnit.ArrazTest.testavg" />
354
+      <item itemvalue="JUnit.ArrazTest.testinsertvalue" />
355
+      <item itemvalue="JUnit.ArrazTest.testremovevalue" />
356
+      <item itemvalue="JUnit.ArrazTest.testDuplicate" />
357
+      <item itemvalue="JUnit.ArrazTest.testfirstremoveCopy" />
358
+    </list>
359
+    <recent_temporary>
360
+      <list>
361
+        <item itemvalue="JUnit.ArrazTest.testfirstremoveCopy" />
362
+        <item itemvalue="JUnit.ArrazTest.testremovevalue" />
363
+        <item itemvalue="JUnit.ArrazTest.testDuplicate" />
364
+        <item itemvalue="JUnit.ArrazTest.testinsertvalue" />
365
+        <item itemvalue="JUnit.ArrazTest.testavg" />
366
+      </list>
367
+    </recent_temporary>
280 368
   </component>
281 369
   <component name="SvnConfiguration">
282 370
     <configuration />
@@ -291,6 +379,7 @@
291 379
       <workItem from="1543955862749" duration="2347000" />
292 380
       <workItem from="1543958998826" duration="113000" />
293 381
       <workItem from="1544020724645" duration="762000" />
382
+      <workItem from="1544152502000" duration="42158000" />
294 383
     </task>
295 384
     <task id="LOCAL-00001" summary="readme and docs">
296 385
       <created>1544021313039</created>
@@ -302,39 +391,73 @@
302 391
     <option name="localTasksCounter" value="2" />
303 392
     <servers />
304 393
   </component>
394
+  <component name="TestHistory">
395
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 22m 46s.xml">
396
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
397
+    </history-entry>
398
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 23m 38s.xml">
399
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
400
+    </history-entry>
401
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 23m 58s.xml">
402
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
403
+    </history-entry>
404
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 24m 24s.xml">
405
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
406
+    </history-entry>
407
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 25m 00s.xml">
408
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
409
+    </history-entry>
410
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 25m 50s.xml">
411
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
412
+    </history-entry>
413
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 26m 45s.xml">
414
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
415
+    </history-entry>
416
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 27m 03s.xml">
417
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
418
+    </history-entry>
419
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 27m 48s.xml">
420
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
421
+    </history-entry>
422
+    <history-entry file="ArrazTest_testfirstremoveCopy - 2018.12.08 at 14h 28m 02s.xml">
423
+      <configuration name="ArrazTest.testfirstremoveCopy" configurationId="JUnit" />
424
+    </history-entry>
425
+  </component>
305 426
   <component name="TimeTrackingManager">
306
-    <option name="totallyTimeSpent" value="3222000" />
427
+    <option name="totallyTimeSpent" value="45380000" />
307 428
   </component>
308 429
   <component name="ToolWindowManager">
309
-    <frame x="242" y="45" width="1538" height="962" extended-state="0" />
430
+    <frame x="0" y="23" width="1280" height="717" extended-state="0" />
310 431
     <editor active="true" />
311 432
     <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" />
433
+      <window_info id="Learn" />
434
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.26171243" />
435
+      <window_info id="Structure" order="1" weight="0.25" />
436
+      <window_info id="Image Layers" order="2" />
437
+      <window_info id="Designer" order="3" />
438
+      <window_info id="UI Designer" order="4" />
439
+      <window_info id="Capture Tool" order="5" />
440
+      <window_info id="Favorites" order="6" side_tool="true" />
441
+      <window_info anchor="bottom" id="Messages" weight="0.32890365" />
442
+      <window_info anchor="bottom" id="Message" order="0" />
443
+      <window_info anchor="bottom" id="Find" order="1" />
444
+      <window_info active="true" anchor="bottom" id="Run" order="2" sideWeight="0.49919224" visible="true" weight="0.33222592" />
445
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.3986711" />
446
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
447
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
448
+      <window_info anchor="bottom" id="TODO" order="6" />
449
+      <window_info anchor="bottom" id="Terminal" order="7" weight="0.32890365" />
450
+      <window_info anchor="bottom" id="Event Log" order="8" sideWeight="0.50080776" side_tool="true" weight="0.3294893" />
451
+      <window_info anchor="bottom" id="Version Control" order="9" />
452
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
453
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
454
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
455
+      <window_info anchor="right" id="Palette" order="3" />
456
+      <window_info anchor="right" id="Capture Analysis" order="4" />
457
+      <window_info anchor="right" id="Theme Preview" order="5" />
458
+      <window_info anchor="right" id="Database" order="6" />
459
+      <window_info anchor="right" id="Palette&#9;" order="7" />
460
+      <window_info anchor="right" id="Maven Projects" order="8" />
338 461
     </layout>
339 462
   </component>
340 463
   <component name="TypeScriptGeneratedFilesManager">
@@ -347,119 +470,125 @@
347 470
     <MESSAGE value="readme and docs" />
348 471
     <option name="LAST_COMMIT_MESSAGE" value="readme and docs" />
349 472
   </component>
350
-  <component name="XDebuggerManager">
351
-    <breakpoint-manager />
352
-    <watches-manager />
353
-  </component>
354 473
   <component name="editorHistoryManager">
355
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
474
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/MaxMin.java">
356 475
       <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">
364
-      <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 />
476
+        <state relative-caret-position="30">
477
+          <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
376 478
         </state>
377 479
       </provider>
378 480
     </entry>
379 481
     <entry file="file://$PROJECT_DIR$/README.md">
380 482
       <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
381
-        <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 />
483
+        <state split_layout="SECOND">
484
+          <first_editor relative-caret-position="161">
485
+            <caret line="57" column="58" selection-start-line="57" selection-start-column="58" selection-end-line="57" selection-end-column="86" />
385 486
           </first_editor>
386 487
           <second_editor />
387 488
         </state>
388 489
       </provider>
389 490
     </entry>
390
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
491
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/OddEven.java">
391 492
       <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 />
493
+        <state relative-caret-position="174">
494
+          <caret line="16" column="5" lean-forward="true" selection-start-line="16" selection-start-column="5" selection-end-line="16" selection-end-column="5" />
395 495
         </state>
396 496
       </provider>
397 497
     </entry>
398
-    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
399
-      <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 />
403
-        </state>
404
-      </provider>
498
+    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
499
+      <provider selected="true" editor-type-id="text-editor" />
405 500
     </entry>
406 501
     <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
407 502
       <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 />
411
-        </state>
412
-      </provider>
413
-    </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 />
422
-        </state>
423
-      </provider>
424
-    </entry>
425
-    <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 />
503
+        <state relative-caret-position="240">
504
+          <caret line="293" column="9" lean-forward="true" selection-start-line="293" selection-start-column="9" selection-end-line="293" selection-end-column="9" />
505
+          <folding>
506
+            <element signature="imports" expanded="true" />
507
+            <element signature="e#4997#5006#0" expanded="true" />
508
+          </folding>
430 509
         </state>
431 510
       </provider>
432 511
     </entry>
433 512
     <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
434 513
       <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 />
438
-        </state>
439
-      </provider>
440
-    </entry>
441
-    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
442
-      <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 />
514
+        <state relative-caret-position="183">
515
+          <caret line="321" column="28" selection-start-line="321" selection-start-column="11" selection-end-line="321" selection-end-column="28" />
516
+          <folding>
517
+            <element signature="imports" expanded="true" />
518
+            <element signature="e#2065#2074#0" expanded="true" />
519
+            <element signature="e#3099#3108#0" expanded="true" />
520
+            <element signature="e#3123#3132#0" expanded="true" />
521
+            <element signature="e#4179#4188#0" expanded="true" />
522
+            <element signature="e#8411#8420#0" expanded="true" />
523
+            <element signature="e#9043#9052#0" expanded="true" />
524
+            <element signature="e#9100#9109#0" expanded="true" />
525
+          </folding>
457 526
         </state>
458 527
       </provider>
459 528
     </entry>
460 529
   </component>
461 530
   <component name="masterDetails">
462 531
     <states>
532
+      <state key="ArtifactsStructureConfigurable.UI">
533
+        <settings>
534
+          <artifact-editor />
535
+          <splitter-proportions>
536
+            <option name="proportions">
537
+              <list>
538
+                <option value="0.2" />
539
+              </list>
540
+            </option>
541
+          </splitter-proportions>
542
+        </settings>
543
+      </state>
544
+      <state key="FacetStructureConfigurable.UI">
545
+        <settings>
546
+          <last-edited>No facets are configured</last-edited>
547
+          <splitter-proportions>
548
+            <option name="proportions">
549
+              <list>
550
+                <option value="0.2" />
551
+              </list>
552
+            </option>
553
+          </splitter-proportions>
554
+        </settings>
555
+      </state>
556
+      <state key="GlobalLibrariesConfigurable.UI">
557
+        <settings>
558
+          <splitter-proportions>
559
+            <option name="proportions">
560
+              <list>
561
+                <option value="0.2" />
562
+              </list>
563
+            </option>
564
+          </splitter-proportions>
565
+        </settings>
566
+      </state>
567
+      <state key="JdkListConfigurable.UI">
568
+        <settings>
569
+          <last-edited>1.8</last-edited>
570
+          <splitter-proportions>
571
+            <option name="proportions">
572
+              <list>
573
+                <option value="0.2" />
574
+              </list>
575
+            </option>
576
+          </splitter-proportions>
577
+        </settings>
578
+      </state>
579
+      <state key="ModuleStructureConfigurable.UI">
580
+        <settings>
581
+          <last-edited>ArraysGoneWild</last-edited>
582
+          <splitter-proportions>
583
+            <option name="proportions">
584
+              <list>
585
+                <option value="0.2" />
586
+                <option value="0.6" />
587
+              </list>
588
+            </option>
589
+          </splitter-proportions>
590
+        </settings>
591
+      </state>
463 592
       <state key="ProjectJDKs.UI">
464 593
         <settings>
465 594
           <last-edited>1.8</last-edited>
@@ -472,6 +601,18 @@
472 601
           </splitter-proportions>
473 602
         </settings>
474 603
       </state>
604
+      <state key="ProjectLibrariesConfigurable.UI">
605
+        <settings>
606
+          <last-edited>Maven: junit:junit:4.0</last-edited>
607
+          <splitter-proportions>
608
+            <option name="proportions">
609
+              <list>
610
+                <option value="0.2" />
611
+              </list>
612
+            </option>
613
+          </splitter-proportions>
614
+        </settings>
615
+      </state>
475 616
     </states>
476 617
   </component>
477 618
 </project>

+ 16
- 0
arraz/.idea/compiler.xml Vedi File

@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="CompilerConfiguration">
4
+    <annotationProcessing>
5
+      <profile name="Maven default annotation processors profile" enabled="true">
6
+        <sourceOutputDir name="target/generated-sources/annotations" />
7
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8
+        <outputRelativeToContentRoot value="true" />
9
+        <module name="arraz" />
10
+      </profile>
11
+    </annotationProcessing>
12
+    <bytecodeTargetLevel>
13
+      <module name="arraz" target="1.5" />
14
+    </bytecodeTargetLevel>
15
+  </component>
16
+</project>

+ 13
- 0
arraz/.idea/libraries/Maven__junit_junit_4_0.xml Vedi File

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

+ 13
- 0
arraz/.idea/misc.xml Vedi File

@@ -0,0 +1,13 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="MavenProjectsManager">
4
+    <option name="originalFiles">
5
+      <list>
6
+        <option value="$PROJECT_DIR$/pom.xml" />
7
+      </list>
8
+    </option>
9
+  </component>
10
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8 (1)" project-jdk-type="JavaSDK">
11
+    <output url="file://$PROJECT_DIR$/classes" />
12
+  </component>
13
+</project>

+ 8
- 0
arraz/.idea/modules.xml Vedi File

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/arraz.iml" filepath="$PROJECT_DIR$/arraz.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 6
- 0
arraz/.idea/vcs.xml Vedi File

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

+ 462
- 0
arraz/.idea/workspace.xml Vedi File

@@ -0,0 +1,462 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="96b0a4dd-d722-4454-90f1-0ec086428662" name="Default Changelist" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/arraz.iml" beforeDir="false" afterPath="$PROJECT_DIR$/arraz.iml" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/src/main/java/Arraz.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/Arraz.java" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/src/test/java/ArrazTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/ArrazTest.java" afterDir="false" />
11
+    </list>
12
+    <ignored path="$PROJECT_DIR$/target/" />
13
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
14
+    <option name="SHOW_DIALOG" value="false" />
15
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
16
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
17
+    <option name="LAST_RESOLUTION" value="IGNORE" />
18
+  </component>
19
+  <component name="FUSProjectUsageTrigger">
20
+    <session id="360516890">
21
+      <usages-collector id="statistics.lifecycle.project">
22
+        <counts>
23
+          <entry key="project.closed" value="7" />
24
+          <entry key="project.open.time.1" value="3" />
25
+          <entry key="project.open.time.11" value="1" />
26
+          <entry key="project.open.time.13" value="1" />
27
+          <entry key="project.open.time.5" value="1" />
28
+          <entry key="project.open.time.7" value="1" />
29
+          <entry key="project.opened" value="7" />
30
+        </counts>
31
+      </usages-collector>
32
+      <usages-collector id="statistics.file.extensions.open">
33
+        <counts>
34
+          <entry key="iml" value="3" />
35
+          <entry key="java" value="3" />
36
+          <entry key="xml" value="2" />
37
+        </counts>
38
+      </usages-collector>
39
+      <usages-collector id="statistics.file.types.open">
40
+        <counts>
41
+          <entry key="IDEA_MODULE" value="3" />
42
+          <entry key="JAVA" value="3" />
43
+          <entry key="XML" value="2" />
44
+        </counts>
45
+      </usages-collector>
46
+      <usages-collector id="statistics.file.extensions.edit">
47
+        <counts>
48
+          <entry key="java" value="1214" />
49
+        </counts>
50
+      </usages-collector>
51
+      <usages-collector id="statistics.file.types.edit">
52
+        <counts>
53
+          <entry key="JAVA" value="1870" />
54
+        </counts>
55
+      </usages-collector>
56
+    </session>
57
+  </component>
58
+  <component name="FileEditorManager">
59
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
60
+      <file pinned="false" current-in-tab="true">
61
+        <entry file="file://$PROJECT_DIR$/src/main/java/Arraz.java">
62
+          <provider selected="true" editor-type-id="text-editor">
63
+            <state relative-caret-position="180">
64
+              <caret line="12" column="19" lean-forward="true" selection-start-line="7" selection-start-column="6" selection-end-line="12" selection-end-column="19" />
65
+            </state>
66
+          </provider>
67
+        </entry>
68
+      </file>
69
+      <file pinned="false" current-in-tab="false">
70
+        <entry file="file://$PROJECT_DIR$/src/test/java/ArrazTest.java">
71
+          <provider selected="true" editor-type-id="text-editor">
72
+            <state relative-caret-position="461">
73
+              <caret line="21" column="28" selection-start-line="21" selection-start-column="28" selection-end-line="21" selection-end-column="28" />
74
+              <folding>
75
+                <element signature="imports" expanded="true" />
76
+              </folding>
77
+            </state>
78
+          </provider>
79
+        </entry>
80
+      </file>
81
+      <file pinned="false" current-in-tab="false">
82
+        <entry file="file://$PROJECT_DIR$/arraz.iml">
83
+          <provider selected="true" editor-type-id="text-editor">
84
+            <state relative-caret-position="210">
85
+              <caret line="14" column="8" selection-start-line="14" selection-start-column="8" selection-end-line="14" selection-end-column="8" />
86
+            </state>
87
+          </provider>
88
+        </entry>
89
+      </file>
90
+    </leaf>
91
+  </component>
92
+  <component name="Git.Settings">
93
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
94
+  </component>
95
+  <component name="IdeDocumentHistory">
96
+    <option name="CHANGED_PATHS">
97
+      <list>
98
+        <option value="$PROJECT_DIR$/src/test/java/ArrazTest.java" />
99
+        <option value="$PROJECT_DIR$/src/main/java/Arraz.java" />
100
+      </list>
101
+    </option>
102
+  </component>
103
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
104
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
105
+  <component name="JsGulpfileManager">
106
+    <detection-done>true</detection-done>
107
+    <sorting>DEFINITION_ORDER</sorting>
108
+  </component>
109
+  <component name="ProjectFrameBounds">
110
+    <option name="x" value="10" />
111
+    <option name="y" value="43" />
112
+    <option name="width" value="1260" />
113
+    <option name="height" value="674" />
114
+  </component>
115
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
116
+  <component name="ProjectView">
117
+    <navigator proportions="" version="1">
118
+      <foldersAlwaysOnTop value="true" />
119
+    </navigator>
120
+    <panes>
121
+      <pane id="Scope" />
122
+      <pane id="PackagesPane">
123
+        <subPane>
124
+          <expand>
125
+            <path>
126
+              <item name="arraz" type="58d84e3e:PackageViewProjectNode" />
127
+              <item name="arraz" type="616d4139:PackageViewModuleNode" />
128
+            </path>
129
+          </expand>
130
+          <select />
131
+        </subPane>
132
+      </pane>
133
+      <pane id="ProjectPane">
134
+        <subPane>
135
+          <expand>
136
+            <path>
137
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
138
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
139
+            </path>
140
+            <path>
141
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
142
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
143
+              <item name="src" type="462c0819:PsiDirectoryNode" />
144
+            </path>
145
+            <path>
146
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
147
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
148
+              <item name="src" type="462c0819:PsiDirectoryNode" />
149
+              <item name="main" type="462c0819:PsiDirectoryNode" />
150
+            </path>
151
+            <path>
152
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
153
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
154
+              <item name="src" type="462c0819:PsiDirectoryNode" />
155
+              <item name="main" type="462c0819:PsiDirectoryNode" />
156
+              <item name="java" type="462c0819:PsiDirectoryNode" />
157
+            </path>
158
+            <path>
159
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
160
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
161
+              <item name="src" type="462c0819:PsiDirectoryNode" />
162
+              <item name="test" type="462c0819:PsiDirectoryNode" />
163
+            </path>
164
+            <path>
165
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
166
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
167
+              <item name="src" type="462c0819:PsiDirectoryNode" />
168
+              <item name="test" type="462c0819:PsiDirectoryNode" />
169
+              <item name="java" type="462c0819:PsiDirectoryNode" />
170
+            </path>
171
+          </expand>
172
+          <select />
173
+        </subPane>
174
+      </pane>
175
+    </panes>
176
+  </component>
177
+  <component name="PropertiesComponent">
178
+    <property name="WebServerToolWindowFactoryState" value="false" />
179
+    <property name="aspect.path.notification.shown" value="true" />
180
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
181
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
182
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
183
+    <property name="project.structure.last.edited" value="Project" />
184
+    <property name="project.structure.proportion" value="0.0" />
185
+    <property name="project.structure.side.proportion" value="0.0" />
186
+    <property name="settings.editor.selected.configurable" value="preferences.externalDependencies" />
187
+  </component>
188
+  <component name="RunDashboard">
189
+    <option name="ruleStates">
190
+      <list>
191
+        <RuleState>
192
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
193
+        </RuleState>
194
+        <RuleState>
195
+          <option name="name" value="StatusDashboardGroupingRule" />
196
+        </RuleState>
197
+      </list>
198
+    </option>
199
+  </component>
200
+  <component name="RunManager" selected="JUnit.ArrazTest.testReverse">
201
+    <configuration name="ArrazTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
202
+      <module name="arraz" />
203
+      <option name="PACKAGE_NAME" value="" />
204
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
205
+      <method v="2">
206
+        <option name="Make" enabled="true" />
207
+      </method>
208
+    </configuration>
209
+    <configuration name="ArrazTest.testReverse" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
210
+      <module name="arraz" />
211
+      <option name="PACKAGE_NAME" value="" />
212
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
213
+      <option name="METHOD_NAME" value="testReverse" />
214
+      <option name="TEST_OBJECT" value="method" />
215
+      <method v="2">
216
+        <option name="Make" enabled="true" />
217
+      </method>
218
+    </configuration>
219
+    <configuration name="ArrazTest.testavgOfArray" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
220
+      <module name="arraz" />
221
+      <option name="PACKAGE_NAME" value="" />
222
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
223
+      <option name="METHOD_NAME" value="testavgOfArray" />
224
+      <option name="TEST_OBJECT" value="method" />
225
+      <method v="2">
226
+        <option name="Make" enabled="true" />
227
+      </method>
228
+    </configuration>
229
+    <configuration name="ArrazTest.testavgfDoubleValues" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
230
+      <module name="arraz" />
231
+      <option name="PACKAGE_NAME" value="" />
232
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
233
+      <option name="METHOD_NAME" value="testavgfDoubleValues" />
234
+      <option name="TEST_OBJECT" value="method" />
235
+      <method v="2">
236
+        <option name="Make" enabled="true" />
237
+      </method>
238
+    </configuration>
239
+    <configuration name="ArrazTest.testcontains" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
240
+      <module name="arraz" />
241
+      <option name="PACKAGE_NAME" value="" />
242
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
243
+      <option name="METHOD_NAME" value="testcontains" />
244
+      <option name="TEST_OBJECT" value="method" />
245
+      <method v="2">
246
+        <option name="Make" enabled="true" />
247
+      </method>
248
+    </configuration>
249
+    <list>
250
+      <item itemvalue="JUnit.ArrazTest.testavgOfArray" />
251
+      <item itemvalue="JUnit.ArrazTest.testavgfDoubleValues" />
252
+      <item itemvalue="JUnit.ArrazTest" />
253
+      <item itemvalue="JUnit.ArrazTest.testcontains" />
254
+      <item itemvalue="JUnit.ArrazTest.testReverse" />
255
+    </list>
256
+    <recent_temporary>
257
+      <list>
258
+        <item itemvalue="JUnit.ArrazTest.testReverse" />
259
+        <item itemvalue="JUnit.ArrazTest.testcontains" />
260
+        <item itemvalue="JUnit.ArrazTest.testavgfDoubleValues" />
261
+        <item itemvalue="JUnit.ArrazTest" />
262
+        <item itemvalue="JUnit.ArrazTest.testavgOfArray" />
263
+      </list>
264
+    </recent_temporary>
265
+  </component>
266
+  <component name="SvnConfiguration">
267
+    <configuration />
268
+  </component>
269
+  <component name="TaskManager">
270
+    <task active="true" id="Default" summary="Default task">
271
+      <changelist id="96b0a4dd-d722-4454-90f1-0ec086428662" name="Default Changelist" comment="" />
272
+      <created>1544048263770</created>
273
+      <option name="number" value="Default" />
274
+      <option name="presentableId" value="Default" />
275
+      <updated>1544048263770</updated>
276
+      <workItem from="1544048267875" duration="194000" />
277
+      <workItem from="1544055688735" duration="2314000" />
278
+      <workItem from="1544065448822" duration="906000" />
279
+      <workItem from="1544066820340" duration="199000" />
280
+      <workItem from="1544067066913" duration="675000" />
281
+      <workItem from="1544067990720" duration="1728000" />
282
+      <workItem from="1544135990503" duration="377000" />
283
+    </task>
284
+    <servers />
285
+  </component>
286
+  <component name="TestHistory">
287
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 06m 07s.xml">
288
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
289
+    </history-entry>
290
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 06m 34s.xml">
291
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
292
+    </history-entry>
293
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 06m 45s.xml">
294
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
295
+    </history-entry>
296
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 08m 07s.xml">
297
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
298
+    </history-entry>
299
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 08m 37s.xml">
300
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
301
+    </history-entry>
302
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 08m 49s.xml">
303
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
304
+    </history-entry>
305
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 10m 11s.xml">
306
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
307
+    </history-entry>
308
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 14m 06s.xml">
309
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
310
+    </history-entry>
311
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 14m 30s.xml">
312
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
313
+    </history-entry>
314
+    <history-entry file="ArrazTest_testReverse - 2018.12.05 at 23h 15m 01s.xml">
315
+      <configuration name="ArrazTest.testReverse" configurationId="JUnit" />
316
+    </history-entry>
317
+  </component>
318
+  <component name="TimeTrackingManager">
319
+    <option name="totallyTimeSpent" value="6393000" />
320
+  </component>
321
+  <component name="ToolWindowManager">
322
+    <frame x="10" y="43" width="1260" height="674" extended-state="0" />
323
+    <layout>
324
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.27339903" />
325
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
326
+      <window_info id="Designer" order="2" />
327
+      <window_info id="Learn" order="3" />
328
+      <window_info id="UI Designer" order="4" />
329
+      <window_info id="Favorites" order="5" side_tool="true" />
330
+      <window_info anchor="bottom" id="Message" order="0" />
331
+      <window_info anchor="bottom" id="Find" order="1" />
332
+      <window_info anchor="bottom" id="Run" order="2" weight="0.3291592" />
333
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
334
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
335
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
336
+      <window_info anchor="bottom" id="TODO" order="6" />
337
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
338
+      <window_info anchor="bottom" id="Terminal" order="8" />
339
+      <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
340
+      <window_info anchor="bottom" id="Messages" order="10" weight="0.3291592" />
341
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
342
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
343
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
344
+      <window_info anchor="right" id="Palette" order="3" />
345
+      <window_info anchor="right" id="Palette&#9;" order="4" />
346
+      <window_info anchor="right" id="Maven Projects" order="5" />
347
+    </layout>
348
+    <layout-to-restore>
349
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.26600984" />
350
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
351
+      <window_info id="Designer" order="2" />
352
+      <window_info id="Learn" order="3" />
353
+      <window_info id="UI Designer" order="4" />
354
+      <window_info id="Favorites" order="5" side_tool="true" />
355
+      <window_info anchor="bottom" id="Message" order="0" />
356
+      <window_info anchor="bottom" id="Find" order="1" />
357
+      <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.3291592" />
358
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
359
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
360
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
361
+      <window_info anchor="bottom" id="TODO" order="6" />
362
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
363
+      <window_info anchor="bottom" id="Terminal" order="8" />
364
+      <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
365
+      <window_info anchor="bottom" id="Messages" order="10" weight="0.3291592" />
366
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
367
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
368
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
369
+      <window_info anchor="right" id="Palette" order="3" />
370
+      <window_info anchor="right" id="Palette&#9;" order="4" />
371
+      <window_info anchor="right" id="Maven Projects" order="5" />
372
+    </layout-to-restore>
373
+  </component>
374
+  <component name="TypeScriptGeneratedFilesManager">
375
+    <option name="version" value="1" />
376
+  </component>
377
+  <component name="VcsContentAnnotationSettings">
378
+    <option name="myLimit" value="2678400000" />
379
+  </component>
380
+  <component name="editorHistoryManager">
381
+    <entry file="file://$PROJECT_DIR$/pom.xml">
382
+      <provider selected="true" editor-type-id="text-editor" />
383
+    </entry>
384
+    <entry file="file://$PROJECT_DIR$/../../../week6Labs/exceptions-readandwrite/pom.xml">
385
+      <provider selected="true" editor-type-id="text-editor" />
386
+    </entry>
387
+    <entry file="file://$PROJECT_DIR$/arraz.iml">
388
+      <provider selected="true" editor-type-id="text-editor">
389
+        <state relative-caret-position="210">
390
+          <caret line="14" column="8" selection-start-line="14" selection-start-column="8" selection-end-line="14" selection-end-column="8" />
391
+        </state>
392
+      </provider>
393
+    </entry>
394
+    <entry file="file://$PROJECT_DIR$/src/test/java/ArrazTest.java">
395
+      <provider selected="true" editor-type-id="text-editor">
396
+        <state relative-caret-position="461">
397
+          <caret line="21" column="28" selection-start-line="21" selection-start-column="28" selection-end-line="21" selection-end-column="28" />
398
+          <folding>
399
+            <element signature="imports" expanded="true" />
400
+          </folding>
401
+        </state>
402
+      </provider>
403
+    </entry>
404
+    <entry file="file://$PROJECT_DIR$/src/main/java/Arraz.java">
405
+      <provider selected="true" editor-type-id="text-editor">
406
+        <state relative-caret-position="180">
407
+          <caret line="12" column="19" lean-forward="true" selection-start-line="7" selection-start-column="6" selection-end-line="12" selection-end-column="19" />
408
+        </state>
409
+      </provider>
410
+    </entry>
411
+  </component>
412
+  <component name="masterDetails">
413
+    <states>
414
+      <state key="GlobalLibrariesConfigurable.UI">
415
+        <settings>
416
+          <splitter-proportions>
417
+            <option name="proportions">
418
+              <list>
419
+                <option value="0.2" />
420
+              </list>
421
+            </option>
422
+          </splitter-proportions>
423
+        </settings>
424
+      </state>
425
+      <state key="JdkListConfigurable.UI">
426
+        <settings>
427
+          <last-edited>1.8</last-edited>
428
+          <splitter-proportions>
429
+            <option name="proportions">
430
+              <list>
431
+                <option value="0.2" />
432
+              </list>
433
+            </option>
434
+          </splitter-proportions>
435
+        </settings>
436
+      </state>
437
+      <state key="ProjectJDKs.UI">
438
+        <settings>
439
+          <last-edited>1.8</last-edited>
440
+          <splitter-proportions>
441
+            <option name="proportions">
442
+              <list>
443
+                <option value="0.2" />
444
+              </list>
445
+            </option>
446
+          </splitter-proportions>
447
+        </settings>
448
+      </state>
449
+      <state key="ProjectLibrariesConfigurable.UI">
450
+        <settings>
451
+          <splitter-proportions>
452
+            <option name="proportions">
453
+              <list>
454
+                <option value="0.2" />
455
+              </list>
456
+            </option>
457
+          </splitter-proportions>
458
+        </settings>
459
+      </state>
460
+    </states>
461
+  </component>
462
+</project>

+ 1
- 2
arraz/arraz.iml Vedi File

@@ -5,11 +5,10 @@
5 5
     <output-test url="file://$MODULE_DIR$/target/test-classes" />
6 6
     <content url="file://$MODULE_DIR$">
7 7
       <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
9 8
       <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
10 9
       <excludeFolder url="file://$MODULE_DIR$/target" />
11 10
     </content>
12
-    <orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
11
+    <orderEntry type="inheritedJdk" />
13 12
     <orderEntry type="sourceFolder" forTests="false" />
14 13
     <orderEntry type="library" name="Maven: junit:junit:4.0" level="project" />
15 14
   </component>

+ 369
- 1
arraz/src/main/java/Arraz.java Vedi File

@@ -1,2 +1,370 @@
1
+import com.sun.tools.javac.util.ArrayUtils;
2
+
3
+import java.util.*;
4
+
1 5
 public class Arraz {
2
-}
6
+
7
+
8
+    public int sumOfValues(int[] array) {
9
+
10
+        int sum = 0;
11
+
12
+        for (int i = 0; i < array.length; i++) {
13
+            sum = sum + array[i];
14
+        }
15
+        return sum;
16
+    }
17
+
18
+    public double sumDoublesOfArra(double[] array) {
19
+        double sum = 0.0;
20
+        for (int i = 0; i < array.length; i++) {
21
+            sum = sum + array[i];
22
+        }
23
+
24
+        return sum;
25
+    }
26
+
27
+    public int averageOfArray(int[] array) {
28
+        int length = array.length;
29
+        int avg = sumOfValues(array) / length;
30
+        return avg;
31
+    }
32
+
33
+    public double doubleaverageOfArray(double[] array) {
34
+        int length = array.length;
35
+        double avg = sumDoublesOfArra(array) / length;
36
+        return avg;
37
+    }
38
+
39
+    public boolean containsValue(int[] array, int value) {
40
+        boolean flag = true;
41
+        for (int i = 0; i < array.length; i++) {
42
+            if (array[i] == value) {
43
+                return true;
44
+
45
+            } else {
46
+                flag = false;
47
+            }
48
+
49
+        }
50
+        return flag;
51
+    }
52
+
53
+    public Integer[] reverseArray(Integer[] array) {
54
+        Integer arr[] = new Integer[array.length];
55
+        for (int i = 0; i < array.length; i++) {
56
+            arr[i] = array[array.length - i - 1];
57
+            System.out.println(arr[i]);
58
+        }
59
+        return arr;
60
+    }
61
+
62
+    public static OddEven oddEven(int[] array) {
63
+        int oddcount = 0;
64
+        int evencount = 0;
65
+
66
+        for (int i = 0; i < array.length; i++) {
67
+            if (array[i] % 2 == 0) {
68
+                evencount++;
69
+
70
+            } else
71
+                oddcount++;
72
+
73
+        }
74
+        return new OddEven(oddcount, evencount);
75
+    }
76
+
77
+    public int indexOf(int[] array, int value) {
78
+        int index = 0;
79
+        for (int i = 0; i < array.length; i++) {
80
+            if (array[i] == value) {
81
+                index = i;
82
+
83
+            }
84
+        }
85
+        return index;
86
+    }
87
+
88
+    public Integer[] copyArrayByInterator(Integer[] array) {
89
+        List<Integer>list=new ArrayList<Integer>(Arrays.asList(array ) ) ;
90
+        int i=0;
91
+        Iterator<Integer>itr=list.iterator() ;
92
+        Integer[] exp=new Integer[ list.size()];
93
+        while(itr.hasNext() ){
94
+            exp[i]=itr.next() ;
95
+            i++;
96
+        }
97
+
98
+
99
+        return  exp;
100
+    }
101
+
102
+    public Integer[] copyArrayLoop(Integer[] array) {
103
+        Integer[] exp = new Integer[array.length];
104
+        for (int i = 0; i < array.length; i++) {
105
+            exp[i] = array[i];
106
+            System.out.println(exp[i]);
107
+        }
108
+        return exp;
109
+    }
110
+
111
+    public Integer[] removeElementFromArray(Integer[] array, int valueToRemove) {
112
+//            int count=0;
113
+//        Integer exp[] = new Integer[array.length - 1];
114
+//        for (int i = 0; i <array.length; i++) {
115
+//            if (array[i] != valueToRemove) {
116
+//                exp[count ] = array[i];
117
+//               count ++;
118
+//            } else {
119
+//                continue;
120
+//
121
+//            }
122
+//            System.out.println(exp[count]);
123
+//        }
124
+        Arrays.sort(array ) ;
125
+        ArrayList<Integer > list=new ArrayList<Integer>() ;
126
+        int n=array.length -1;
127
+        for(int i=0;i<n;i++){
128
+            if(array[i]==valueToRemove  ){
129
+                continue;
130
+            }
131
+            else
132
+                list.add(array[i] );
133
+        }
134
+        System.out.println(list);
135
+       // list.add(array[n]);
136
+        return list.toArray(new Integer[list.size()]);
137
+
138
+
139
+    }
140
+
141
+    public Integer[]  insertIntoArrayat(Integer  array[], int insertValue, int index) {
142
+            ArrayList<Integer>list=new ArrayList<Integer>();
143
+
144
+        for (int i = 0; i < index ;i++) {
145
+            list.add(array[i]);
146
+        }
147
+         list.add(insertValue );
148
+        for (int i = index; i < array.length   ;i++) {
149
+            list.add(array[i]);
150
+        }
151
+            Integer[] exp=list.toArray(new Integer[list.size() ] );
152
+       // System.arraycopy(array,index,exp,insertValue ,1) ;
153
+       return exp;
154
+    }
155
+
156
+    public static MaxMin maxMinarray(int array[]){
157
+        int max=0;
158
+        int min=array[0];
159
+        for(int i=0;i<array.length;i++ ) {
160
+            if (array[i] > max)
161
+                 max=array[i] ;
162
+        else
163
+            { if(array[i]<min )
164
+               min=array[i];
165
+            }
166
+        }
167
+        System.out.println(max) ;
168
+        System.out.println(min);
169
+         return new MaxMin(max,min);
170
+
171
+    }
172
+
173
+   public Integer [] duplicates(Integer array[]) {
174
+
175
+       Arrays.sort(array);
176
+       ArrayList <Integer> al =new ArrayList<Integer>();
177
+
178
+       int arrayLength = array.length -1;
179
+       for (int i = 0; i < arrayLength; i++) {
180
+           if (array[i] != array[i + 1]) {
181
+               al.add(array[i]);
182
+           } else {
183
+               continue;
184
+           }
185
+       }
186
+       al.add(array[arrayLength]);
187
+       return al.toArray(new Integer[al.size()]);
188
+
189
+   }
190
+
191
+       public int fib(int n){
192
+        if(n<=1){
193
+            return n;
194
+        }
195
+        return fib(n-1)+fib(n-2);
196
+        }
197
+
198
+        public int fibanocci(int n){
199
+            int a = 0, b = 1, c;
200
+            if (n == 0)
201
+                return a;
202
+            for (int i = 2; i <= n; i++)
203
+            {
204
+                c = a + b;
205
+                a = b;
206
+                b = c;
207
+            }
208
+            return b;
209
+
210
+        }
211
+        public int secondLargest(int array[]){
212
+        int max=array [0];
213
+        int secondmax=array[0];
214
+
215
+        for(int i=0;i<array.length;i++ ){
216
+            if(array[i]>max){
217
+                secondmax =max;
218
+                max=array[i];
219
+            }
220
+            else
221
+                if(array [i]>secondmax )
222
+                secondmax =array[i];
223
+        }
224
+        return secondmax ;
225
+        }
226
+
227
+        public ArrayList <Integer> makemeArrayList(Integer[] array){
228
+        ArrayList <Integer> list=new ArrayList<Integer>(Arrays.asList(array ));
229
+        return list;
230
+        }
231
+        public Integer[] makemearray(ArrayList <Integer> list){
232
+             list = new ArrayList<Integer>();
233
+             //Object [] object=list.toArray() ;
234
+            Integer [] arr=list.toArray(new Integer[list.size() ]);
235
+           return  arr;
236
+
237
+
238
+        }
239
+        public boolean arrayEquals(int arr[],int array[]) {
240
+            boolean flag = false;
241
+            if (Arrays.equals(arr,array ) ) {
242
+                flag = true;
243
+            } else{
244
+                flag = false;
245
+        }
246
+            return flag;
247
+        }
248
+
249
+        public Integer averageValueWithoutMaxMin(Integer arra[]){
250
+
251
+            Arrays.sort(arra);
252
+            int sum =0;
253
+            for (int i=1;i<arra.length -1; i++){
254
+                sum +=arra [i];
255
+            }
256
+
257
+        return (sum/(arra.length-2) );
258
+        }
259
+
260
+        public boolean checkvalues(int[] array,int n,int m){
261
+        boolean flag=false;
262
+        for(int i=0;i<array.length;i++ ){
263
+            if(array[i]==m || array[i]== n){
264
+               flag=true;
265
+
266
+            }
267
+            else
268
+                array[i]=array[i];
269
+        }
270
+         return flag;
271
+        }
272
+      public boolean sumOfTens(int array[],int n){
273
+        int sum=0;
274
+        boolean flag=false;
275
+        for(int i=0;i<array.length ;i++ ){
276
+            if(array[i]==n) {
277
+                sum = sum + array[i];
278
+            }
279
+                if(sum==30){
280
+                flag=true;
281
+            }
282
+            else
283
+                flag=false;
284
+        }
285
+        return flag;
286
+      }
287
+
288
+      public Integer[]  smallestSecondsmallest(Integer array[]){
289
+        Arrays.sort(array);
290
+          Integer [] smallest= { array[0], array[1]};
291
+
292
+
293
+        return smallest ;
294
+      }
295
+     public Integer[] makeMeACopyPlease(Integer array[]){
296
+        Integer copy[]=copyArrayLoop(array);
297
+        Integer rev[]=new Integer [array.length ];
298
+        for(int i=0;i<rev.length;i++ ){
299
+            rev[i]=copy[copy.length -i-1];
300
+        }
301
+        return rev;
302
+     }
303
+     public Integer[] removeLastItemandCopy(Integer arra[],int valueToRemove){
304
+        valueToRemove =arra.length;
305
+        Integer[] copy=new Integer[arra.length -1];
306
+        for(int i=0;i<arra.length -1 ;i++ ){
307
+            if(arra[i]==valueToRemove ){
308
+                continue;
309
+            }
310
+            else
311
+                copy[i]=arra[i];
312
+        }
313
+        return copy;
314
+     }
315
+
316
+     public Integer[] removeFirstItemandCopy(Integer[] array,int valueToRemove ){
317
+         valueToRemove =array[0];
318
+         //Integer[] copy=new Integer[array.length -1];
319
+         ArrayList<Integer> al = new ArrayList<Integer>();
320
+
321
+         for(int i=1;i<array.length;i++ ){
322
+           al.add(array[i]);
323
+         }
324
+         return al.toArray(new Integer[al.size() ] ) ;
325
+     }
326
+
327
+
328
+     public Integer[] insertAtStartAndCopy(Integer[] array,int insertValue){
329
+
330
+        Integer[] newArray=new Integer[array.length +1 ];
331
+           newArray [0]=insertValue ;
332
+         for(int i=1;i<newArray.length;i++ ){
333
+             newArray[i]=array[i-1];
334
+
335
+         }
336
+         return newArray ;
337
+     }
338
+
339
+     public Integer[] insertAtTheEnd(Integer[]  array,int insertValue ) {
340
+
341
+         Integer[] newArray=new Integer[array.length +1 ];
342
+         newArray [newArray .length-1]=insertValue ;
343
+
344
+         for(int i=0;i<array.length;i++ ){
345
+             newArray[i]=array[i];
346
+
347
+            System.out.println(newArray[i] ) ;
348
+         }
349
+       // newArray [newArray .length-1]=insertValue ;
350
+
351
+         return newArray ;
352
+     }
353
+
354
+     public Integer[] sortArrayIntoEvensThenOdds(Integer[] array){
355
+        ArrayList <Integer> even=new ArrayList<Integer>();
356
+        ArrayList <Integer>odd=new ArrayList<Integer>();
357
+        for(int i=0;i<array.length;i++ ){
358
+            if(array[i]%2==0){
359
+                even.add(array[i]);
360
+            }
361
+            else
362
+                odd.add(array[i]);
363
+        }
364
+         Collections.sort(even);
365
+        Collections.sort(odd);
366
+        even.addAll(odd);
367
+        Integer[] sorting=even.toArray(new Integer[even.size() ] ) ;
368
+        return sorting;
369
+     }
370
+}

+ 22
- 0
arraz/src/main/java/MaxMin.java Vedi File

@@ -0,0 +1,22 @@
1
+
2
+
3
+public class MaxMin{
4
+    public int max;
5
+    public int min;
6
+
7
+    public MaxMin(int max, int min) {
8
+        this.max = max;
9
+        this.min = min;
10
+    }
11
+
12
+    @Override
13
+    public boolean equals(Object o) {
14
+        if (this == o) return true;
15
+        if (o == null || getClass() != o.getClass()) return false;
16
+        MaxMin maxMin = (MaxMin) o;
17
+        return max == maxMin.max &&
18
+                min == maxMin.min;
19
+    }
20
+
21
+
22
+}

+ 30
- 0
arraz/src/main/java/OddEven.java Vedi File

@@ -0,0 +1,30 @@
1
+
2
+public class OddEven {
3
+
4
+
5
+
6
+    public int oddcount;
7
+
8
+
9
+    public int evencount;
10
+
11
+    public OddEven() {
12
+    }
13
+
14
+    public OddEven(int oddcount, int evencount) {
15
+        this.oddcount = oddcount;
16
+        this.evencount = evencount;
17
+    }
18
+
19
+
20
+
21
+    @Override
22
+    public boolean equals(Object o) {
23
+        if (this == o) return true;
24
+        if (o == null || getClass() != o.getClass()) return false;
25
+        OddEven oddEven = (OddEven) o;
26
+        return oddcount == oddEven.oddcount &&
27
+                evencount == oddEven.evencount;
28
+    }
29
+
30
+}

+ 325
- 0
arraz/src/test/java/ArrazTest.java Vedi File

@@ -1,5 +1,330 @@
1
+//import junit.framework.Assert;
2
+import org.junit.Test;
3
+import org.junit.Assert ;
4
+
5
+import java.util.ArrayList;
6
+import java.util.List;
7
+
1 8
 import static org.junit.Assert.*;
2 9
 
3 10
 public class ArrazTest {
11
+    Arraz arraz = new Arraz();
12
+
13
+    @Test
14
+    public void testSumOfValues() {
15
+        int[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
16
+        int expected = 190;
17
+        int actual = arraz.sumOfValues(a);
18
+        Assert.assertEquals(expected, actual);
19
+
20
+    }
21
+
22
+    @Test
23
+    public void testSumOfValues1() {
24
+        int[] a = {1, 2, 3, 4, 4, 5, 6, 7};
25
+        int expected = 32;
26
+        int actual = arraz.sumOfValues(a);
27
+        Assert.assertEquals(expected, actual);
28
+
29
+    }
30
+
31
+    @Test
32
+
33
+    public void testSumOfDoubleValues() {
34
+        double[] a = {1.0, 0.5, 3.6, 38.4, 17.3, 62.0, 9.0, 3.375, 0, 3.14159};
35
+        double expected = 138.31659000000002;
36
+
37
+        double actual = arraz.sumDoublesOfArra(a);
38
+        Assert.assertEquals(expected, actual);
39
+
40
+    }
41
+
42
+    @Test
43
+
44
+    public void testSumOfDoubleValues1() {
45
+        double[] a = {1.2, 2.3, 3.4, 4.5, 4.6};
46
+        double expected = 27.6;
47
+
48
+        double actual = arraz.sumDoublesOfArra(a);
49
+        Assert.assertEquals(expected, actual);
50
+
51
+    }
52
+
53
+    @Test
54
+
55
+    public void testavgOfArray() {
56
+        int[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
57
+        int expected = 21;
58
+        int actual = arraz.averageOfArray(a);
59
+        Assert.assertEquals(expected, actual);
60
+
61
+    }
62
+
63
+    @Test
64
+
65
+    public void testavgfDoubleValues() {
66
+        double[] a = {1.0, 0.5, 3.6, 38.4, 17.3, 62.0, 9.0, 3.375, 0, 3.14159};
67
+        double expected = 13.831659;
68
+        double actual = arraz.doubleaverageOfArray(a);
69
+        Assert.assertEquals(expected, actual);
70
+
71
+    }
72
+
73
+    @Test
74
+    public void testcontains() {
75
+        int[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
76
+        int value = 5;
77
+        boolean expected = true;
78
+        boolean actual = arraz.containsValue(a, value);
79
+        Assert.assertEquals(expected, actual);
80
+    }
81
+
82
+    @Test
83
+    public void testReverse() {
84
+        Integer[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
85
+        Integer[] expected = {8, 92, -32, 12, -7, 6, 102, 5, 4};
86
+        Integer[] actual = arraz.reverseArray(a);
87
+        assertEquals(expected, actual);
88
+
89
+    }
90
+
91
+    @Test
92
+    public void testeven() {
93
+        int[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
94
+
95
+        int expected = 7;
96
+        //int  actual=arraz.oddEven(a) ;
97
+        // Assert.assertEquals(expected ,actual) ;
98
+    }
99
+
100
+    @Test
101
+    public void testevenodds() {
102
+        int[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
103
+
104
+
105
+        OddEven expected = new OddEven(2, 7);
106
+
107
+        OddEven actual = arraz.oddEven(a);
108
+        Assert.assertEquals(expected, actual);
109
+    }
110
+
111
+    @Test
112
+    public void testevenodd() {
113
+        //int [] a={4,5,102,6,-7,12,-32,92,8};
114
+        int[] a = {0, 1, 2};
115
+
116
+
117
+        OddEven expected = new OddEven(1, 2);
118
+
119
+        OddEven actual = arraz.oddEven(a);
120
+        Assert.assertEquals(expected, actual);
121
+    }
122
+
123
+    @Test
124
+    public void testIndexOf() {
125
+        int[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
126
+        int value = 102;
127
+        int expected = 2;
128
+        int actual = arraz.indexOf(a, value);
129
+        Assert.assertEquals(expected, actual);
130
+    }
131
+
132
+
133
+    @Test
134
+    public void testcoppyOfarray() {
135
+        Integer[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
136
+        Integer[] expected = {4, 5, 102, 6, -7, 12, -32, 92, 8};
137
+        Integer actual[] = arraz.copyArrayLoop(a);
138
+        Assert.assertEquals(expected, actual);
139
+    }
140
+
141
+    @Test
142
+    public void testcoppyOfarrayItr() {
143
+        Integer[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
144
+        Integer[] expected = {4, 5, 102, 6, -7, 12, -32, 92, 8};
145
+        Integer actual[] = arraz.copyArrayByInterator(a);
146
+        Assert.assertEquals(expected, actual);
147
+    }
148
+
149
+    @Test
150
+
151
+    public void testremovevalue() {
152
+        Integer[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
153
+        Integer value = 102;
154
+        Integer[] expected = {-32, -7, 4, 5, 6, 8, 12, 92};
155
+        Integer actual[] = arraz.removeElementFromArray(a, value);
156
+        Assert.assertEquals(expected, actual);
157
+    }
158
+
159
+    @Test
160
+
161
+    public void testinsertvalue() {
162
+        Integer [] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
163
+        int value = 40;
164
+        int index = 3;
165
+        Integer [] expected = {4, 5, 102, 40, 6, -7, 12, -32, 92, 8};
166
+        Integer  actual[] = arraz.insertIntoArrayat(a, value, index);
167
+        Assert.assertEquals(expected, actual);
168
+    }
169
+
170
+    @Test
171
+    public void testmaxminarray() {
172
+
173
+        int[] a = {4, 5, 102, 6, -7, 12, -32, 92, 8};
174
+        MaxMin expected = new MaxMin(102, -32);
175
+        MaxMin actual = arraz.maxMinarray(a);
176
+        Assert.assertEquals(expected, actual);
177
+    }
178
+
179
+    @Test
180
+    public void testDuplicate() {
181
+        Integer [] a = {4, 5, 102, 6, -7, 12, -32, 92, 6};
182
+        Integer  expected[] = {-32,-7, 4, 5, 6, 12, 92, 102};
183
+        Integer  actual[] = arraz.duplicates(a);
184
+        Assert.assertEquals(expected, actual);
185
+
186
+    }
187
+
188
+    @Test
189
+    public void testfib() {
190
+        int expected = 34;
191
+        int actual = arraz.fib(9);
192
+        Assert.assertEquals(expected, actual);
193
+    }
194
+
195
+    @Test
196
+    public void testfibanocci() {
197
+        int expected = 34;
198
+        int actual = arraz.fibanocci(9);
199
+        Assert.assertEquals(expected, actual);
200
+    }
201
+
202
+    @Test
203
+    public void testsecondLargest() {
204
+        int[] a = {4, 5, 102, 6, -7, 12, -32, 95, 6};
205
+        int expected = 95;
206
+        int actual = arraz.secondLargest(a);
207
+        Assert.assertEquals(expected, actual);
208
+    }
209
+
210
+    @Test
211
+    public void testarrayList() {
212
+        Integer[] a = {1, 2, 3, 4, 5, 6};
213
+        List<Integer> expected = new ArrayList<Integer>();
214
+        expected.add(1);
215
+        expected.add(2);
216
+        expected.add(3);
217
+        expected.add(4);
218
+        expected.add(5);
219
+        expected.add(6);
220
+        List<Integer> actual = arraz.makemeArrayList(a);
221
+        Assert.assertEquals(expected, actual);
222
+    }
223
+
224
+    @Test
225
+    public void testArrayequals() {
226
+        int array[] = {1, 2, 3, 4, 5};
227
+        int array2[] = {1, 2, 3, 4, 5};
228
+        boolean expected = true;
229
+        boolean actual = arraz.arrayEquals(array, array2);
230
+        Assert.assertEquals(expected, actual);
231
+    }
232
+
233
+    @Test
234
+
235
+    public void testCheckValue() {
236
+        int array[] = {1, 2, 65, 4, 67, 4, 5};
237
+        boolean expected = true;
238
+        int n = 65;
239
+        int m = 67;
240
+        boolean actual = arraz.checkvalues(array, n, m);
241
+        Assert.assertEquals(expected, actual);
242
+    }
243
+
244
+    @Test
245
+    public void testsumofTens() {
246
+        int array[] = {1, 2, 3, 10, 3, 10, 10};
247
+        boolean expected = true;
248
+        boolean actual = arraz.sumOfTens(array, 10);
249
+        Assert.assertEquals(expected, actual);
250
+    }
251
+
252
+    @Test
253
+    public void testsumofTens1() {
254
+        int array[] = {1, 2, 3, 10, 3, 20, 10};
255
+        boolean expected = false;
256
+        boolean actual = arraz.sumOfTens(array, 10);
257
+        Assert.assertEquals(expected, actual);
258
+    }
259
+
260
+    @Test
261
+    public void testSmallest() {
262
+        Integer array[] = {1, 2, 3, 10, 3, 10, 10};
263
+        Integer expected[] = {1, 2};
264
+        Integer[] actual = arraz.smallestSecondsmallest(array);
265
+        Assert.assertEquals(expected, actual);
266
+
267
+    }
268
+
269
+    @Test
270
+
271
+    public void testCopyRev() {
272
+        Integer[] array = {1, 2, 3, 4, 5};
273
+        Integer expected[] = {5, 4, 3, 2, 1};
274
+        Integer actual[] = arraz.makeMeACopyPlease(array);
275
+        Assert.assertEquals(expected, actual);
276
+    }
277
+
278
+    @Test
279
+    public void testdeleateCopy() {
280
+        Integer[] array = {1, 2, 3, 4, 5};
281
+        Integer[] exp = {1, 2, 3, 4};
282
+        Integer[] actual = arraz.removeLastItemandCopy(array, 5);
283
+        Assert.assertEquals(actual, exp);
284
+    }
285
+
286
+    @Test
287
+    public void testfirstremoveCopy() {
288
+        Integer[] array = {1, 2, 3, 4, 5};
289
+        Integer[] exp = {2, 3, 4, 5};
290
+        Integer[] actual = arraz.removeFirstItemandCopy(array, 1);
291
+        Assert.assertEquals(actual, exp);
292
+    }
293
+
294
+    @Test
295
+    public void testinsertAtStartAndCopy() {
296
+        Integer[] array = {1, 2, 3, 4, 5};
297
+        int value = 0;
298
+        Integer[] expected = {0, 1, 2, 3, 4, 5};
299
+        Integer[] actual = arraz.insertAtStartAndCopy(array, value);
300
+        Assert.assertEquals(expected, actual);
301
+
302
+    }
303
+
304
+    @Test
305
+    public void testinsertAtendAndCopy() {
306
+        Integer[] array = {1, 2, 3, 4, 5};
307
+        int value = 6;
308
+        Integer[] expected = {1, 2, 3, 4, 5, 6};
309
+        Integer[] actual = arraz.insertAtTheEnd(array, value);
310
+        Assert.assertEquals(expected, actual);
311
+
312
+    }
313
+
314
+    @Test
315
+    public void testSortEvenOdd() {
316
+        Integer[] array = {1, 2, 3, 4, 5, 6};
317
+        Integer expected[] = {2, 4, 6, 1, 3, 5};
318
+        Integer actual[] = arraz.sortArrayIntoEvensThenOdds(array);
319
+        Assert.assertEquals(expected, actual);
320
+    }
321
+
322
+    @Test
323
+    public void testavg() {
324
+        Integer[] array = {1, 2, 3, 4, 5, 6};
325
+        Integer expected = 3;
326
+        Integer actual = arraz.averageValueWithoutMaxMin(array);
327
+        Assert.assertEquals(expected, actual);
4 328
 
329
+    }
5 330
 }