Jose Bedolla 6 gadus atpakaļ
vecāks
revīzija
03e45e3d3c

+ 16
- 0
arraz/.idea/compiler.xml Parādīt failu

@@ -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="8" />
14
+    </bytecodeTargetLevel>
15
+  </component>
16
+</project>

+ 13
- 0
arraz/.idea/libraries/Maven__junit_junit_4_0.xml Parādīt failu

@@ -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 Parādīt failu

@@ -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" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
11
+    <output url="file://$PROJECT_DIR$/classes" />
12
+  </component>
13
+</project>

+ 8
- 0
arraz/.idea/modules.xml Parādīt failu

@@ -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 Parādīt failu

@@ -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>

+ 571
- 0
arraz/.idea/workspace.xml Parādīt failu

@@ -0,0 +1,571 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="ca1c105c-c2d2-42a5-9501-42141fa18f6d" name="Default Changelist" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__junit_junit_4_0.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
10
+      <change afterPath="$PROJECT_DIR$/src/main/java/MaxMin.java" afterDir="false" />
11
+      <change afterPath="$PROJECT_DIR$/src/main/java/OddEven.java" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/arraz.iml" beforeDir="false" afterPath="$PROJECT_DIR$/arraz.iml" afterDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/src/main/java/Arraz.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/Arraz.java" afterDir="false" />
15
+      <change beforePath="$PROJECT_DIR$/src/test/java/ArrazTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/ArrazTest.java" afterDir="false" />
16
+    </list>
17
+    <ignored path="$PROJECT_DIR$/target/" />
18
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
19
+    <option name="SHOW_DIALOG" value="false" />
20
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
21
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
22
+    <option name="LAST_RESOLUTION" value="IGNORE" />
23
+  </component>
24
+  <component name="CoverageDataManager">
25
+    <SUITE FILE_PATH="coverage/arraz$ArrazTest.ic" NAME="ArrazTest Coverage Results" MODIFIED="1544047877791" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
26
+  </component>
27
+  <component name="FUSProjectUsageTrigger">
28
+    <session id="1860346559">
29
+      <usages-collector id="statistics.lifecycle.project">
30
+        <counts>
31
+          <entry key="project.open.time.2" value="1" />
32
+          <entry key="project.opened" value="1" />
33
+        </counts>
34
+      </usages-collector>
35
+      <usages-collector id="statistics.file.extensions.open">
36
+        <counts>
37
+          <entry key="iml" value="1" />
38
+          <entry key="java" value="9" />
39
+          <entry key="xml" value="2" />
40
+        </counts>
41
+      </usages-collector>
42
+      <usages-collector id="statistics.file.types.open">
43
+        <counts>
44
+          <entry key="IDEA_MODULE" value="1" />
45
+          <entry key="JAVA" value="9" />
46
+          <entry key="XML" value="2" />
47
+        </counts>
48
+      </usages-collector>
49
+      <usages-collector id="statistics.file.extensions.edit">
50
+        <counts>
51
+          <entry key="java" value="7435" />
52
+        </counts>
53
+      </usages-collector>
54
+      <usages-collector id="statistics.file.types.edit">
55
+        <counts>
56
+          <entry key="JAVA" value="7435" />
57
+        </counts>
58
+      </usages-collector>
59
+    </session>
60
+  </component>
61
+  <component name="FileEditorManager">
62
+    <leaf>
63
+      <file pinned="false" current-in-tab="false">
64
+        <entry file="file://$PROJECT_DIR$/src/main/java/OddEven.java">
65
+          <provider selected="true" editor-type-id="text-editor">
66
+            <state relative-caret-position="435">
67
+              <caret line="29" column="19" selection-start-line="29" selection-start-column="19" selection-end-line="29" selection-end-column="19" />
68
+              <folding>
69
+                <element signature="e#249#250#0" expanded="true" />
70
+                <element signature="e#279#280#0" expanded="true" />
71
+                <element signature="e#528#529#0" expanded="true" />
72
+                <element signature="e#555#556#0" expanded="true" />
73
+                <element signature="e#592#593#0" expanded="true" />
74
+                <element signature="e#618#619#0" expanded="true" />
75
+              </folding>
76
+            </state>
77
+          </provider>
78
+        </entry>
79
+      </file>
80
+      <file pinned="false" current-in-tab="false">
81
+        <entry file="file://$PROJECT_DIR$/src/main/java/Arraz.java">
82
+          <provider selected="true" editor-type-id="text-editor">
83
+            <state relative-caret-position="131">
84
+              <caret line="119" column="33" selection-start-line="119" selection-start-column="33" selection-end-line="119" selection-end-column="33" />
85
+              <folding>
86
+                <element signature="imports" expanded="true" />
87
+                <element signature="e#541#542#0" expanded="true" />
88
+                <element signature="e#603#604#0" expanded="true" />
89
+              </folding>
90
+            </state>
91
+          </provider>
92
+        </entry>
93
+      </file>
94
+      <file pinned="false" current-in-tab="true">
95
+        <entry file="file://$PROJECT_DIR$/src/test/java/ArrazTest.java">
96
+          <provider selected="true" editor-type-id="text-editor">
97
+            <state relative-caret-position="132">
98
+              <caret line="254" column="42" selection-start-line="254" selection-start-column="42" selection-end-line="254" selection-end-column="42" />
99
+              <folding>
100
+                <element signature="imports" expanded="true" />
101
+              </folding>
102
+            </state>
103
+          </provider>
104
+        </entry>
105
+      </file>
106
+      <file pinned="false" current-in-tab="false">
107
+        <entry file="file://$PROJECT_DIR$/src/main/java/MaxMin.java">
108
+          <provider selected="true" editor-type-id="text-editor">
109
+            <state relative-caret-position="300">
110
+              <caret line="20" column="21" selection-start-line="20" selection-start-column="21" selection-end-line="20" selection-end-column="21" />
111
+              <folding>
112
+                <element signature="e#80#81#0" expanded="true" />
113
+                <element signature="e#95#96#0" expanded="true" />
114
+                <element signature="e#706#707#0" expanded="true" />
115
+                <element signature="e#732#733#0" expanded="true" />
116
+                <element signature="e#763#764#0" expanded="true" />
117
+                <element signature="e#789#790#0" expanded="true" />
118
+              </folding>
119
+            </state>
120
+          </provider>
121
+        </entry>
122
+      </file>
123
+    </leaf>
124
+  </component>
125
+  <component name="FileTemplateManagerImpl">
126
+    <option name="RECENT_TEMPLATES">
127
+      <list>
128
+        <option value="Class" />
129
+      </list>
130
+    </option>
131
+  </component>
132
+  <component name="Git.Settings">
133
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
134
+  </component>
135
+  <component name="IdeDocumentHistory">
136
+    <option name="CHANGED_PATHS">
137
+      <list>
138
+        <option value="$PROJECT_DIR$/src/main/java/OddEven.java" />
139
+        <option value="$PROJECT_DIR$/src/main/java/MaxMin.java" />
140
+        <option value="$PROJECT_DIR$/src/test/java/ArrazTest.java" />
141
+        <option value="$PROJECT_DIR$/src/main/java/Arraz.java" />
142
+      </list>
143
+    </option>
144
+  </component>
145
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
146
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
147
+  <component name="JsGulpfileManager">
148
+    <detection-done>true</detection-done>
149
+    <sorting>DEFINITION_ORDER</sorting>
150
+  </component>
151
+  <component name="MavenProjectNavigator">
152
+    <treeState>
153
+      <expand>
154
+        <path>
155
+          <item name="" type="16c1761:MavenProjectsStructure$RootNode" />
156
+          <item name="arraz" type="9519ce18:MavenProjectsStructure$ProjectNode" />
157
+        </path>
158
+      </expand>
159
+      <select />
160
+    </treeState>
161
+  </component>
162
+  <component name="ProjectFrameBounds">
163
+    <option name="y" value="23" />
164
+    <option name="width" value="1280" />
165
+    <option name="height" value="722" />
166
+  </component>
167
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
168
+  <component name="ProjectView">
169
+    <navigator proportions="" version="1">
170
+      <foldersAlwaysOnTop value="true" />
171
+    </navigator>
172
+    <panes>
173
+      <pane id="PackagesPane" />
174
+      <pane id="Scope" />
175
+      <pane id="ProjectPane">
176
+        <subPane>
177
+          <expand>
178
+            <path>
179
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
180
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
181
+            </path>
182
+            <path>
183
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
184
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
185
+              <item name="src" type="462c0819:PsiDirectoryNode" />
186
+            </path>
187
+            <path>
188
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
189
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
190
+              <item name="src" type="462c0819:PsiDirectoryNode" />
191
+              <item name="main" type="462c0819:PsiDirectoryNode" />
192
+            </path>
193
+            <path>
194
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
195
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
196
+              <item name="src" type="462c0819:PsiDirectoryNode" />
197
+              <item name="main" type="462c0819:PsiDirectoryNode" />
198
+              <item name="java" type="462c0819:PsiDirectoryNode" />
199
+            </path>
200
+            <path>
201
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
202
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
203
+              <item name="src" type="462c0819:PsiDirectoryNode" />
204
+              <item name="test" type="462c0819:PsiDirectoryNode" />
205
+            </path>
206
+            <path>
207
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
208
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
209
+              <item name="src" type="462c0819:PsiDirectoryNode" />
210
+              <item name="test" type="462c0819:PsiDirectoryNode" />
211
+              <item name="java" type="462c0819:PsiDirectoryNode" />
212
+            </path>
213
+            <path>
214
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
215
+              <item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
216
+            </path>
217
+            <path>
218
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
219
+              <item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
220
+              <item name="Maven: junit:junit:4.0" type="70bed36:NamedLibraryElementNode" />
221
+            </path>
222
+          </expand>
223
+          <select />
224
+        </subPane>
225
+      </pane>
226
+    </panes>
227
+  </component>
228
+  <component name="PropertiesComponent">
229
+    <property name="WebServerToolWindowFactoryState" value="false" />
230
+    <property name="aspect.path.notification.shown" value="true" />
231
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1544331637387" />
232
+    <property name="last_opened_file_path" value="$PROJECT_DIR$/pom.xml" />
233
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
234
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
235
+    <property name="project.structure.last.edited" value="Project" />
236
+    <property name="project.structure.proportion" value="0.15" />
237
+    <property name="project.structure.side.proportion" value="0.0" />
238
+  </component>
239
+  <component name="RecentsManager">
240
+    <key name="CreateClassDialog.RecentsKey">
241
+      <recent name="" />
242
+    </key>
243
+  </component>
244
+  <component name="RunDashboard">
245
+    <option name="ruleStates">
246
+      <list>
247
+        <RuleState>
248
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
249
+        </RuleState>
250
+        <RuleState>
251
+          <option name="name" value="StatusDashboardGroupingRule" />
252
+        </RuleState>
253
+      </list>
254
+    </option>
255
+  </component>
256
+  <component name="RunManager" selected="JUnit.ArrazTest.putAllEvenFirstOddAfter">
257
+    <configuration name="All in arraz" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
258
+      <module name="arraz" />
259
+      <option name="PACKAGE_NAME" value="" />
260
+      <option name="TEST_OBJECT" value="package" />
261
+      <method v="2">
262
+        <option name="Make" enabled="true" />
263
+      </method>
264
+    </configuration>
265
+    <configuration name="ArrazTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
266
+      <module name="arraz" />
267
+      <option name="PACKAGE_NAME" value="" />
268
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
269
+      <method v="2">
270
+        <option name="Make" enabled="true" />
271
+      </method>
272
+    </configuration>
273
+    <configuration name="ArrazTest.makeArrayListArray" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
274
+      <module name="arraz" />
275
+      <option name="PACKAGE_NAME" value="" />
276
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
277
+      <option name="METHOD_NAME" value="makeArrayListArray" />
278
+      <option name="TEST_OBJECT" value="method" />
279
+      <method v="2">
280
+        <option name="Make" enabled="true" />
281
+      </method>
282
+    </configuration>
283
+    <configuration name="ArrazTest.putAllEvenFirstOddAfter" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
284
+      <module name="arraz" />
285
+      <option name="PACKAGE_NAME" value="" />
286
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
287
+      <option name="METHOD_NAME" value="putAllEvenFirstOddAfter" />
288
+      <option name="TEST_OBJECT" value="method" />
289
+      <method v="2">
290
+        <option name="Make" enabled="true" />
291
+      </method>
292
+    </configuration>
293
+    <configuration name="ArrazTest.removeDuplicates" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
294
+      <module name="arraz" />
295
+      <option name="PACKAGE_NAME" value="" />
296
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
297
+      <option name="METHOD_NAME" value="removeDuplicates" />
298
+      <option name="TEST_OBJECT" value="method" />
299
+      <method v="2">
300
+        <option name="Make" enabled="true" />
301
+      </method>
302
+    </configuration>
303
+    <list>
304
+      <item itemvalue="JUnit.ArrazTest.removeDuplicates" />
305
+      <item itemvalue="JUnit.All in arraz" />
306
+      <item itemvalue="JUnit.ArrazTest.makeArrayListArray" />
307
+      <item itemvalue="JUnit.ArrazTest" />
308
+      <item itemvalue="JUnit.ArrazTest.putAllEvenFirstOddAfter" />
309
+    </list>
310
+    <recent_temporary>
311
+      <list>
312
+        <item itemvalue="JUnit.ArrazTest.putAllEvenFirstOddAfter" />
313
+        <item itemvalue="JUnit.All in arraz" />
314
+        <item itemvalue="JUnit.ArrazTest.makeArrayListArray" />
315
+        <item itemvalue="JUnit.ArrazTest" />
316
+        <item itemvalue="JUnit.ArrazTest.removeDuplicates" />
317
+      </list>
318
+    </recent_temporary>
319
+  </component>
320
+  <component name="SvnConfiguration">
321
+    <configuration />
322
+  </component>
323
+  <component name="TaskManager">
324
+    <task active="true" id="Default" summary="Default task">
325
+      <changelist id="ca1c105c-c2d2-42a5-9501-42141fa18f6d" name="Default Changelist" comment="" />
326
+      <created>1544045974569</created>
327
+      <option name="number" value="Default" />
328
+      <option name="presentableId" value="Default" />
329
+      <updated>1544045974569</updated>
330
+      <workItem from="1544045978000" duration="50949000" />
331
+    </task>
332
+    <servers />
333
+  </component>
334
+  <component name="TestHistory">
335
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 13m 04s.xml">
336
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
337
+    </history-entry>
338
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 15m 08s.xml">
339
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
340
+    </history-entry>
341
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 15m 37s.xml">
342
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
343
+    </history-entry>
344
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 16m 16s.xml">
345
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
346
+    </history-entry>
347
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 16m 44s.xml">
348
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
349
+    </history-entry>
350
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 17m 30s.xml">
351
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
352
+    </history-entry>
353
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 18m 44s.xml">
354
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
355
+    </history-entry>
356
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 19m 25s.xml">
357
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
358
+    </history-entry>
359
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 25m 13s.xml">
360
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
361
+    </history-entry>
362
+    <history-entry file="ArrazTest_putAllEvenFirstOddAfter - 2018.12.08 at 23h 58m 59s.xml">
363
+      <configuration name="ArrazTest.putAllEvenFirstOddAfter" configurationId="JUnit" />
364
+    </history-entry>
365
+  </component>
366
+  <component name="TimeTrackingManager">
367
+    <option name="totallyTimeSpent" value="50949000" />
368
+  </component>
369
+  <component name="ToolWindowManager">
370
+    <frame x="0" y="23" width="1280" height="722" extended-state="0" />
371
+    <editor active="true" />
372
+    <layout>
373
+      <window_info id="Image Layers" />
374
+      <window_info id="Designer" />
375
+      <window_info id="UI Designer" />
376
+      <window_info id="Capture Tool" />
377
+      <window_info id="Favorites" side_tool="true" />
378
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.24959612" />
379
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
380
+      <window_info anchor="bottom" id="Messages" weight="0.32698414" />
381
+      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
382
+      <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
383
+      <window_info anchor="bottom" id="Terminal" />
384
+      <window_info anchor="bottom" id="Event Log" side_tool="true" />
385
+      <window_info anchor="bottom" id="Message" order="0" />
386
+      <window_info anchor="bottom" id="Find" order="1" />
387
+      <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.45555556" />
388
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
389
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
390
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
391
+      <window_info anchor="bottom" id="TODO" order="6" />
392
+      <window_info anchor="right" id="Palette" />
393
+      <window_info anchor="right" id="Coverage" side_tool="true" weight="0.32960597" />
394
+      <window_info anchor="right" id="Theme Preview" />
395
+      <window_info anchor="right" id="Capture Analysis" />
396
+      <window_info anchor="right" id="Palette&#9;" />
397
+      <window_info anchor="right" id="Database" />
398
+      <window_info anchor="right" id="Maven Projects" weight="0.32956383" />
399
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
400
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
401
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
402
+    </layout>
403
+  </component>
404
+  <component name="TypeScriptGeneratedFilesManager">
405
+    <option name="version" value="1" />
406
+  </component>
407
+  <component name="VcsContentAnnotationSettings">
408
+    <option name="myLimit" value="2678400000" />
409
+  </component>
410
+  <component name="editorHistoryManager">
411
+    <entry file="file://$PROJECT_DIR$/arraz.iml">
412
+      <provider selected="true" editor-type-id="text-editor" />
413
+    </entry>
414
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/util/Set.java">
415
+      <provider selected="true" editor-type-id="text-editor">
416
+        <state relative-caret-position="517">
417
+          <caret line="103" column="7" lean-forward="true" selection-start-line="103" selection-start-column="7" selection-end-line="103" selection-end-column="7" />
418
+        </state>
419
+      </provider>
420
+    </entry>
421
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/util/function/IntFunction.java">
422
+      <provider selected="true" editor-type-id="text-editor">
423
+        <state relative-caret-position="405">
424
+          <caret line="50" lean-forward="true" selection-start-line="50" selection-end-line="50" />
425
+        </state>
426
+      </provider>
427
+    </entry>
428
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/lang/Integer.java">
429
+      <provider selected="true" editor-type-id="text-editor">
430
+        <state relative-caret-position="420">
431
+          <caret line="51" column="19" selection-start-line="51" selection-start-column="19" selection-end-line="51" selection-end-column="19" />
432
+        </state>
433
+      </provider>
434
+    </entry>
435
+    <entry file="file://$PROJECT_DIR$/src/main/java/OddEven.java">
436
+      <provider selected="true" editor-type-id="text-editor">
437
+        <state relative-caret-position="435">
438
+          <caret line="29" column="19" selection-start-line="29" selection-start-column="19" selection-end-line="29" selection-end-column="19" />
439
+          <folding>
440
+            <element signature="e#249#250#0" expanded="true" />
441
+            <element signature="e#279#280#0" expanded="true" />
442
+            <element signature="e#528#529#0" expanded="true" />
443
+            <element signature="e#555#556#0" expanded="true" />
444
+            <element signature="e#592#593#0" expanded="true" />
445
+            <element signature="e#618#619#0" expanded="true" />
446
+          </folding>
447
+        </state>
448
+      </provider>
449
+    </entry>
450
+    <entry file="file://$PROJECT_DIR$/pom.xml">
451
+      <provider selected="true" editor-type-id="text-editor">
452
+        <state relative-caret-position="390">
453
+          <caret line="26" column="21" lean-forward="true" selection-start-line="26" selection-start-column="21" selection-end-line="26" selection-end-column="21" />
454
+        </state>
455
+      </provider>
456
+    </entry>
457
+    <entry file="file://$PROJECT_DIR$/src/main/java/MaxMin.java">
458
+      <provider selected="true" editor-type-id="text-editor">
459
+        <state relative-caret-position="300">
460
+          <caret line="20" column="21" selection-start-line="20" selection-start-column="21" selection-end-line="20" selection-end-column="21" />
461
+          <folding>
462
+            <element signature="e#80#81#0" expanded="true" />
463
+            <element signature="e#95#96#0" expanded="true" />
464
+            <element signature="e#706#707#0" expanded="true" />
465
+            <element signature="e#732#733#0" expanded="true" />
466
+            <element signature="e#763#764#0" expanded="true" />
467
+            <element signature="e#789#790#0" expanded="true" />
468
+          </folding>
469
+        </state>
470
+      </provider>
471
+    </entry>
472
+    <entry file="file://$PROJECT_DIR$/src/main/java/Arraz.java">
473
+      <provider selected="true" editor-type-id="text-editor">
474
+        <state relative-caret-position="131">
475
+          <caret line="119" column="33" selection-start-line="119" selection-start-column="33" selection-end-line="119" selection-end-column="33" />
476
+          <folding>
477
+            <element signature="imports" expanded="true" />
478
+            <element signature="e#541#542#0" expanded="true" />
479
+            <element signature="e#603#604#0" expanded="true" />
480
+          </folding>
481
+        </state>
482
+      </provider>
483
+    </entry>
484
+    <entry file="file://$PROJECT_DIR$/src/test/java/ArrazTest.java">
485
+      <provider selected="true" editor-type-id="text-editor">
486
+        <state relative-caret-position="132">
487
+          <caret line="254" column="42" selection-start-line="254" selection-start-column="42" selection-end-line="254" selection-end-column="42" />
488
+          <folding>
489
+            <element signature="imports" expanded="true" />
490
+          </folding>
491
+        </state>
492
+      </provider>
493
+    </entry>
494
+  </component>
495
+  <component name="masterDetails">
496
+    <states>
497
+      <state key="ArtifactsStructureConfigurable.UI">
498
+        <settings>
499
+          <artifact-editor />
500
+          <splitter-proportions>
501
+            <option name="proportions">
502
+              <list>
503
+                <option value="0.2" />
504
+              </list>
505
+            </option>
506
+          </splitter-proportions>
507
+        </settings>
508
+      </state>
509
+      <state key="FacetStructureConfigurable.UI">
510
+        <settings>
511
+          <last-edited>No facets are configured</last-edited>
512
+          <splitter-proportions>
513
+            <option name="proportions">
514
+              <list>
515
+                <option value="0.2" />
516
+              </list>
517
+            </option>
518
+          </splitter-proportions>
519
+        </settings>
520
+      </state>
521
+      <state key="GlobalLibrariesConfigurable.UI">
522
+        <settings>
523
+          <splitter-proportions>
524
+            <option name="proportions">
525
+              <list>
526
+                <option value="0.2" />
527
+              </list>
528
+            </option>
529
+          </splitter-proportions>
530
+        </settings>
531
+      </state>
532
+      <state key="JdkListConfigurable.UI">
533
+        <settings>
534
+          <last-edited>1.8</last-edited>
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="ModuleStructureConfigurable.UI">
545
+        <settings>
546
+          <last-edited>arraz</last-edited>
547
+          <splitter-proportions>
548
+            <option name="proportions">
549
+              <list>
550
+                <option value="0.2" />
551
+                <option value="0.6" />
552
+              </list>
553
+            </option>
554
+          </splitter-proportions>
555
+        </settings>
556
+      </state>
557
+      <state key="ProjectLibrariesConfigurable.UI">
558
+        <settings>
559
+          <last-edited>Maven: junit:junit:4.0</last-edited>
560
+          <splitter-proportions>
561
+            <option name="proportions">
562
+              <list>
563
+                <option value="0.2" />
564
+              </list>
565
+            </option>
566
+          </splitter-proportions>
567
+        </settings>
568
+      </state>
569
+    </states>
570
+  </component>
571
+</project>

+ 2
- 3
arraz/arraz.iml Parādīt failu

@@ -1,15 +1,14 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
3
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
4 4
     <output url="file://$MODULE_DIR$/target/classes" />
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>

+ 12
- 0
arraz/pom.xml Parādīt failu

@@ -7,6 +7,18 @@
7 7
     <groupId>rocks.zipcode.arraysgonewild</groupId>
8 8
     <artifactId>arraz</artifactId>
9 9
     <version>1.0-SNAPSHOT</version>
10
+    <build>
11
+        <plugins>
12
+            <plugin>
13
+                <groupId>org.apache.maven.plugins</groupId>
14
+                <artifactId>maven-compiler-plugin</artifactId>
15
+                <configuration>
16
+                    <source>8</source>
17
+                    <target>8</target>
18
+                </configuration>
19
+            </plugin>
20
+        </plugins>
21
+    </build>
10 22
     <dependencies>
11 23
         <dependency>
12 24
             <groupId>junit</groupId>

+ 124
- 0
arraz/src/main/java/Arraz.java Parādīt failu

@@ -1,2 +1,126 @@
1
+import java.util.*;
2
+import java.util.stream.Collectors;
3
+import java.util.stream.Stream;
4
+
1 5
 public class Arraz {
6
+    public Integer sumValuesOfArray(Integer[] arrExample) {
7
+        Integer sum =0;
8
+        for (Integer e: arrExample ){
9
+            sum += e;
10
+        }
11
+        return sum;
12
+    }
13
+        // different way of doing it
14
+    public double sumDoubleOfArray(double[] doubleAr) {
15
+        double sum = 0;
16
+        for(int i =0; i < doubleAr.length; i++){
17
+            sum += doubleAr[i];
18
+        }
19
+        return sum;
20
+    }
21
+
22
+    public Integer averageOfArray(Integer[] intarr) {
23
+        return sumValuesOfArray(intarr)/ intarr.length;
24
+    }
25
+
26
+    public double doubleAverageOfArray(double[] arr) {
27
+      double value =(sumDoubleOfArray(arr)/arr.length);
28
+      return value;
29
+    }
30
+
31
+    public boolean containsValue(Integer[] arr, Integer number) {
32
+        for(Integer e : arr){
33
+            if (e.equals(number)){
34
+                return true;
35
+            }
36
+        }
37
+        return false;
38
+    }
39
+
40
+    public Integer[] reverseArray(Integer[] arr) {
41
+        Integer[] array  = new Integer[arr.length];
42
+        for(int i=0; i < arr.length; i++){
43
+            array[i] = arr[arr.length-1-i];
44
+        }
45
+        return array;
46
+    }
47
+
48
+
49
+    public Integer[] removeDuplicates(Integer[] arr) {
50
+        return Stream.of(arr)
51
+                .distinct()
52
+                .toArray(Integer[]::new);
53
+    }
54
+
55
+    public double secondLargestDouble(Double[] arr) {
56
+        TreeSet<Double> set = new TreeSet(Arrays.asList(arr));
57
+        ArrayList<Double> list = new ArrayList(set);
58
+        return list.get(list.size()-2);
59
+    }
60
+
61
+    public Integer findIndexOfValue(Integer[] arr, Integer value) {
62
+        Integer saveIndex = 0;
63
+        for (int i = 0; i <arr.length ; i++) {
64
+            if (arr[i].equals(value)){
65
+                saveIndex = i;
66
+            }
67
+        }
68
+        return saveIndex;
69
+    }
70
+
71
+    public Integer[] copyArrayByIterator(Integer[] arr) {
72
+        Integer[] arr2 = new Integer[arr.length];
73
+        Iterator<Integer> iterator = Arrays.asList(arr).iterator();
74
+        int counter =0;
75
+        while(iterator.hasNext()){
76
+            arr2[counter] = iterator.next();
77
+            counter++;
78
+        }
79
+
80
+        return arr2;
81
+    }
82
+
83
+    public Integer[] copyArrayByLoop(Integer[] arr) {
84
+        Integer[] arr2 = new Integer[arr.length];
85
+        for (int i = 0; i <arr.length ; i++) {
86
+            arr2[i] = arr[i];
87
+        }
88
+        return arr2;
89
+    }
90
+
91
+    public String[] removeElementFromArray(String[] arr, String element) {
92
+        String[] arr2 = new String[arr.length-1];
93
+        for (int i=0; i < arr.length; i++){
94
+            if (!arr[i].equalsIgnoreCase(element)){
95
+                arr2[i] = arr[i];
96
+            }
97
+        }
98
+        return arr2;
99
+    }
100
+
101
+    public Integer[] insertIntoArayAt(Integer[] arr, Integer index, Integer numberToInsert) {
102
+        arr[index] = numberToInsert;
103
+        return arr;
104
+    }
105
+
106
+
107
+    public Integer[] makeArrayListToArray(ArrayList<Integer> al) {
108
+      return  al.stream()
109
+                .toArray(Integer[]::new);
110
+    }
111
+
112
+    public Integer[] evenFirstOddSecond(Integer[] arr) {
113
+        Integer counter =0;
114
+        Integer[] arr2 = new Integer[arr.length];
115
+        for (int i = 0; i <arr.length; i++) {
116
+            if (arr[i] % 2 == 0){
117
+                arr2[i] = arr[i];
118
+            }
119
+
120
+                arr2[i] = arr[i];
121
+
122
+
123
+        }
124
+        return arr2;
125
+    }
2 126
 }

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

@@ -0,0 +1,31 @@
1
+import java.util.*;
2
+
3
+public class MaxMin {
4
+
5
+    Integer[] arr;
6
+    Integer max=0;
7
+    Integer min=0;
8
+
9
+    public MaxMin(Integer[] arr) {
10
+    this.arr=arr;
11
+    }
12
+
13
+    public MaxMin(Integer max, Integer min) {
14
+        this.max = max;
15
+        this.min = min;
16
+    }
17
+
18
+    public void findMaxMin(Integer[] arr){
19
+        Arrays.sort(arr);
20
+        max = arr[arr.length-1];
21
+        min = arr[0];
22
+    }
23
+
24
+    public Integer getMax() {
25
+        return max;
26
+    }
27
+
28
+    public Integer getMin() {
29
+        return min;
30
+    }
31
+}

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

@@ -0,0 +1,36 @@
1
+public class OddEven {
2
+
3
+    public Integer odd = 0;
4
+    public Integer even = 0;
5
+    private Integer[] arr;
6
+
7
+    public OddEven(Integer odd, Integer even) {
8
+        this.even = even;
9
+        this.odd = odd;
10
+    }
11
+
12
+    public OddEven(Integer[] arr) {
13
+        this.arr = arr;
14
+    }
15
+     public void numberOfEvenOdd(){
16
+        for (Integer e : arr){
17
+            if (e % 2 == 0){
18
+                even = even + 1;
19
+            }else{
20
+                odd = odd + 1;
21
+            }
22
+        }
23
+     }
24
+
25
+     public Integer getEvenNum(){
26
+        return even;
27
+     }
28
+
29
+     public Integer getOddNum(){
30
+        return odd;
31
+     }
32
+
33
+
34
+
35
+
36
+}

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

@@ -1,5 +1,260 @@
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+import java.util.ArrayList;
5
+import java.util.Arrays;
6
+
1 7
 import static org.junit.Assert.*;
2 8
 
3 9
 public class ArrazTest {
4 10
 
5
-}
11
+    Arraz az = new Arraz();
12
+
13
+    @Test
14
+    public void testSumValuesOfArray(){
15
+
16
+        Arraz arrayClass = new Arraz();
17
+        Integer[] arrExample = {5,5};
18
+        int expected = 10;
19
+        int actual = arrayClass.sumValuesOfArray(arrExample);
20
+        Assert.assertEquals(expected,actual);
21
+    }
22
+
23
+    @Test
24
+    public void test2SumVauesOfArray(){
25
+
26
+        Arraz arrayClass = new Arraz();
27
+        Integer[] arrExample = {20,78,67,73,78};
28
+        int expected = 316;
29
+        int actual = arrayClass.sumValuesOfArray(arrExample);
30
+        Assert.assertEquals(expected,actual);
31
+    }
32
+
33
+    @Test
34
+    public void testSumDoublesOfArray(){
35
+
36
+        Arraz arrayClass = new Arraz();
37
+        double[] doubleAr = {2.0,2.1};
38
+        double expected = 4.1;
39
+        double actual = arrayClass.sumDoubleOfArray(doubleAr);
40
+        Assert.assertEquals(expected,actual);
41
+    }
42
+
43
+    @Test
44
+    public void test2SumOfDoublesOfArray(){
45
+
46
+        Arraz rClass = new Arraz();
47
+        double[] dNum = {2.0,2.1,3.4,3.1};
48
+        double expected = 10.6;
49
+        double actual = rClass.sumDoubleOfArray(dNum);
50
+        Assert.assertEquals(actual,expected);
51
+    }
52
+
53
+    @Test
54
+    public void testAvarageOfArray(){
55
+        Arraz rClass =  new Arraz();
56
+        Integer[] intarr = {3,6,3};
57
+        Integer expected = 4;
58
+        Integer actual = rClass.averageOfArray(intarr);
59
+        Assert.assertEquals(expected,actual);
60
+    }
61
+
62
+    @Test
63
+    public void test2AverageOfArray(){
64
+        Arraz rClass =  new Arraz();
65
+        Integer[] intarr = {20,66,90,24};
66
+        Integer expected = 50;
67
+        Integer actual = rClass.averageOfArray(intarr);
68
+        Assert.assertEquals(expected,actual);
69
+    }
70
+
71
+    @Test
72
+    public void testDoubleAverageOfArray(){
73
+        Arraz ac = new Arraz();
74
+        double[] arr = {2.1,2.8,1.9,9.0,5.3};
75
+        double expected = 21.1/5;
76
+        double actual = ac.doubleAverageOfArray(arr);
77
+        Assert.assertEquals(expected,actual);
78
+
79
+    }
80
+
81
+    @Test
82
+    public void test2DoubleAverageOfArray(){
83
+
84
+        Arraz ac = new Arraz();
85
+        double[] arr = {2.1,5.8,4.9,6.7,9.5,8.7};
86
+        double expected = 37.7/6;
87
+        double actual = ac.doubleAverageOfArray(arr);
88
+        Assert.assertEquals(expected,actual);
89
+    }
90
+
91
+    @Test
92
+    public void testContainsValue(){
93
+        Integer[] arr = {1,2,4,5,3};
94
+        Integer number = 5;
95
+        boolean expected = true;
96
+        boolean actual = az.containsValue(arr,number);
97
+        Assert.assertEquals(expected,actual);
98
+
99
+    }
100
+
101
+    @Test
102
+    public void test2ContainsValue(){
103
+        Integer[] arr = {2,4,5,6,8,9};
104
+        Integer number = 3;
105
+        boolean expected = false;
106
+        boolean actual = az.containsValue(arr,number);
107
+        Assert.assertEquals(expected,actual);
108
+    }
109
+
110
+    @Test
111
+    public void testReverseArray(){
112
+        Integer[] arr = {1,2,3,4,5};
113
+        Integer[] expected = {5,4,3,2,1};
114
+        Integer[] actual = az.reverseArray(arr);
115
+        Assert.assertTrue(Arrays.equals(expected,actual));
116
+    }
117
+
118
+    @Test
119
+    public void test2ReverseArray(){
120
+        Integer[] arr = {1,2,3,4,5,6,7};
121
+        Integer[] expected = {7,6,5,4,3,2,1};
122
+        Integer[] actual = az.reverseArray(arr);
123
+        Assert.assertTrue(Arrays.equals(expected,actual));
124
+    }
125
+
126
+    @Test
127
+    public void testgetOdd(){
128
+        Integer[] arr = {2,3,5,7,8};
129
+        Integer expected = 3;
130
+        OddEven oddEven = new OddEven(arr);
131
+        oddEven.numberOfEvenOdd();
132
+        Integer actual = oddEven.getOddNum();
133
+        Assert.assertEquals(expected,actual);
134
+
135
+    }
136
+
137
+    @Test
138
+    public void testgetEven(){
139
+        Integer[] arr = {2,3,5,7,8};
140
+        Integer expected = 2;
141
+        OddEven oddEven = new OddEven(arr);
142
+        oddEven.numberOfEvenOdd();
143
+        Integer actual = oddEven.getEvenNum();
144
+        Assert.assertEquals(actual,expected);
145
+    }
146
+
147
+    @Test
148
+    public void testRemoveDuplicates(){
149
+        Integer[] arr = {1,1,2,2,3,3,4,4};
150
+        Integer[] expected = {1,2,3,4};
151
+        Integer[] actual = az.removeDuplicates(arr);
152
+        Assert.assertTrue(Arrays.equals(expected,actual));
153
+    }
154
+    @Test
155
+    public void test2RemoveDuplicates(){
156
+        Integer[] arr = {1,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4};
157
+        Integer[] expected = {1,3,4};
158
+        Integer[] actual = az.removeDuplicates(arr);
159
+        Assert.assertTrue(Arrays.equals(expected,actual));
160
+    }
161
+
162
+    @Test
163
+    public void testSecondLargestDouble() {
164
+        Double[] arr = {1.5, 5.5, 3.2};
165
+        Double expected = 3.2;
166
+        Double actual = az.secondLargestDouble(arr);
167
+        Assert.assertEquals(expected,actual);
168
+    }
169
+
170
+    @Test
171
+    public void test2SecondLargestDouble() {
172
+        Double[] arr = {1.5, 5.5, 3.2,6.7,5.8};
173
+        Double expected = 5.8;
174
+        Double actual = az.secondLargestDouble(arr);
175
+        Assert.assertEquals(expected,actual);
176
+    }
177
+
178
+    @Test
179
+    public void testFindIndexOfValue(){
180
+        Integer[] arr = {1,2,3,4,5};
181
+        Integer value =3;
182
+        Integer expectedIndex = 2;
183
+        Integer actual = az.findIndexOfValue(arr,value);
184
+        Assert.assertEquals(expectedIndex,actual);
185
+    }
186
+    @Test
187
+    public void testFindIndexOfValue2(){
188
+        Integer[] arr = {1,2,3,4,5,6,7,8,9,10};
189
+        Integer value =8;
190
+        Integer expectedIndex = 7;
191
+        Integer actual = az.findIndexOfValue(arr,value);
192
+        Assert.assertEquals(expectedIndex,actual);
193
+    }
194
+    @Test
195
+    public void testCopyArrayByIterator(){
196
+        Integer[] arr = {1,2,3,4,5};
197
+        Integer[] expected = {1,2,3,4,5};
198
+        Integer[] actual = az.copyArrayByIterator(arr);
199
+        Assert.assertEquals(expected,actual);
200
+    }
201
+    @Test
202
+    public void testCopyArrayByLoop(){
203
+        Integer[] arr = {1,2,3,4,5};
204
+        Integer[] expected = {1,2,3,4,5};
205
+        Integer[] actual = az.copyArrayByLoop(arr);
206
+        Assert.assertEquals(expected,actual);
207
+    }
208
+    @Test
209
+    public void removeElementFromArray(){
210
+        String[] arr = {"hola","me", "llamo", "jose"};
211
+        String element = "jose";
212
+        String[] expected = {"hola","me","llamo"};
213
+        String[] actual = az.removeElementFromArray(arr,element);
214
+        Assert.assertEquals(expected,actual);
215
+    }
216
+    @Test
217
+    public void testInsertIntoArrayAt(){
218
+        Integer[] arr = {1,2,3,4,5};
219
+        Integer index = 2;
220
+        Integer numberToInsert = 10;
221
+        Integer[] expected = {1,2,10,4,5};
222
+        Integer[] actual = az.insertIntoArayAt(arr,index,numberToInsert);
223
+        Assert.assertEquals(actual,expected);
224
+    }
225
+    @Test
226
+    public void findMaxNumOfArray(){
227
+        Integer[] arr = {12,34,5,767,85,34,1,34,34,1,767};
228
+        MaxMin m = new MaxMin(arr);
229
+        Integer expected = 767;
230
+        m.findMaxMin(arr);
231
+        Integer actual = m.getMax();
232
+        Assert.assertEquals(expected,actual);
233
+    }
234
+    @Test
235
+    public void findMinNumOfArray(){
236
+        Integer[] arr = {12,34,5,767,85,34,1,34,34,1,767};
237
+        MaxMin m = new MaxMin(arr);
238
+        Integer expected = 1;
239
+        m.findMaxMin(arr);
240
+        Integer actual = m.getMin();
241
+        Assert.assertEquals(expected,actual);
242
+    }
243
+    @Test
244
+    public void makeArrayListArray(){
245
+        ArrayList<Integer> al = new ArrayList<>();
246
+        al.add(3);
247
+        al.add(4);
248
+        Integer[] expected = {3,4};
249
+        Integer[] actual = az.makeArrayListToArray(al);
250
+        Assert.assertEquals(expected,actual);
251
+    }
252
+    @Test
253
+    public void putAllEvenFirstOddAfter(){
254
+        Integer[] arr = {5,7,11,2,4,6};
255
+        Integer[] expected = {2,4,6,5,7,11};
256
+        Integer[] actual = az.evenFirstOddSecond(arr);
257
+        Assert.assertEquals(expected,actual);
258
+    }
259
+
260
+}