Aleena Rose-Mathew před 8 roky
rodič
revize
66a6879662

+ 226
- 95
.idea/workspace.xml Zobrazit soubor

@@ -21,8 +21,8 @@
21 21
       <file leaf-file-name="SavingsAccountTest.java" pinned="false" current-in-tab="true">
22 22
         <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/bankaccountlab/SavingsAccountTest.java">
23 23
           <provider selected="true" editor-type-id="text-editor">
24
-            <state relative-caret-position="330">
25
-              <caret line="22" column="10" selection-start-line="22" selection-start-column="10" selection-end-line="22" selection-end-column="10" />
24
+            <state relative-caret-position="163">
25
+              <caret line="19" column="5" lean-forward="true" selection-start-line="19" selection-start-column="5" selection-end-line="19" selection-end-column="5" />
26 26
               <folding>
27 27
                 <element signature="imports" expanded="true" />
28 28
               </folding>
@@ -30,11 +30,33 @@
30 30
           </provider>
31 31
         </entry>
32 32
       </file>
33
+      <file leaf-file-name="JAVA/com.zipcodewilmington.bankaccountlab.SavingsAccountTest" pinned="false" current-in-tab="false">
34
+        <entry file="uml://JAVA/com.zipcodewilmington.bankaccountlab.SavingsAccountTest">
35
+          <provider selected="true" editor-type-id="UmlEditorProvider">
36
+            <state>
37
+              <ID>JAVA</ID>
38
+              <OriginalElement>com.zipcodewilmington.bankaccountlab.SavingsAccountTest</OriginalElement>
39
+              <nodes>
40
+                <node x="0.0" y="0.0">com.zipcodewilmington.bankaccountlab.SavingsAccountTest</node>
41
+              </nodes>
42
+              <notes />
43
+              <edges />
44
+              <settings layout="Hierarchic Group" zoom="1.0" x="-127.0" y="-6.5" />
45
+              <SelectedNodes>
46
+                <node>com.zipcodewilmington.bankaccountlab.SavingsAccountTest</node>
47
+              </SelectedNodes>
48
+              <Categories />
49
+              <SCOPE>All</SCOPE>
50
+              <VISIBILITY>private</VISIBILITY>
51
+            </state>
52
+          </provider>
53
+        </entry>
54
+      </file>
33 55
       <file leaf-file-name="BuisnessAccountTest.java" pinned="false" current-in-tab="false">
34 56
         <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/bankaccountlab/BuisnessAccountTest.java">
35 57
           <provider selected="true" editor-type-id="text-editor">
36
-            <state relative-caret-position="390">
37
-              <caret line="26" column="10" selection-start-line="26" selection-start-column="10" selection-end-line="26" selection-end-column="10" />
58
+            <state relative-caret-position="187">
59
+              <caret line="22" column="5" lean-forward="true" selection-start-line="22" selection-start-column="5" selection-end-line="22" selection-end-column="5" />
38 60
               <folding>
39 61
                 <element signature="imports" expanded="true" />
40 62
               </folding>
@@ -69,8 +91,30 @@
69 91
       <file leaf-file-name="ATM.java" pinned="false" current-in-tab="false">
70 92
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/ATM.java">
71 93
           <provider selected="true" editor-type-id="text-editor">
72
-            <state relative-caret-position="1005">
73
-              <caret line="67" column="46" selection-start-line="67" selection-start-column="46" selection-end-line="67" selection-end-column="46" />
94
+            <state relative-caret-position="33">
95
+              <caret line="36" column="62" selection-start-line="36" selection-start-column="62" selection-end-line="36" selection-end-column="62" />
96
+            </state>
97
+          </provider>
98
+        </entry>
99
+      </file>
100
+      <file leaf-file-name="JAVA/com.zipcodewilmington.bankaccountlab.ATM" pinned="false" current-in-tab="false">
101
+        <entry file="uml://JAVA/com.zipcodewilmington.bankaccountlab.ATM">
102
+          <provider selected="true" editor-type-id="UmlEditorProvider">
103
+            <state>
104
+              <ID>JAVA</ID>
105
+              <OriginalElement>com.zipcodewilmington.bankaccountlab.ATM</OriginalElement>
106
+              <nodes>
107
+                <node x="0.0" y="0.0">com.zipcodewilmington.bankaccountlab.ATM</node>
108
+              </nodes>
109
+              <notes />
110
+              <edges />
111
+              <settings layout="Hierarchic Group" zoom="1.0" x="-176.5" y="-6.5" />
112
+              <SelectedNodes>
113
+                <node>com.zipcodewilmington.bankaccountlab.ATM</node>
114
+              </SelectedNodes>
115
+              <Categories />
116
+              <SCOPE>All</SCOPE>
117
+              <VISIBILITY>private</VISIBILITY>
74 118
             </state>
75 119
           </provider>
76 120
         </entry>
@@ -78,8 +122,11 @@
78 122
       <file leaf-file-name="CheckingAccountTest.java" pinned="false" current-in-tab="false">
79 123
         <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/bankaccountlab/CheckingAccountTest.java">
80 124
           <provider selected="true" editor-type-id="text-editor">
81
-            <state relative-caret-position="345">
82
-              <caret line="23" column="10" selection-start-line="23" selection-start-column="10" selection-end-line="23" selection-end-column="10" />
125
+            <state relative-caret-position="199">
126
+              <caret line="22" column="17" lean-forward="true" selection-start-line="22" selection-start-column="17" selection-end-line="22" selection-end-column="17" />
127
+              <folding>
128
+                <element signature="imports" expanded="true" />
129
+              </folding>
83 130
             </state>
84 131
           </provider>
85 132
         </entry>
@@ -93,21 +140,6 @@
93 140
           </provider>
94 141
         </entry>
95 142
       </file>
96
-      <file leaf-file-name="SavingAccount.java" pinned="false" current-in-tab="false">
97
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/SavingAccount.java">
98
-          <provider selected="true" editor-type-id="text-editor">
99
-            <state relative-caret-position="180">
100
-              <caret line="24" column="5" selection-start-line="24" selection-start-column="5" selection-end-line="24" selection-end-column="5" />
101
-              <folding>
102
-                <element signature="e#409#410#0" expanded="true" />
103
-                <element signature="e#461#462#0" expanded="true" />
104
-                <element signature="e#501#502#0" expanded="true" />
105
-                <element signature="e#553#554#0" expanded="true" />
106
-              </folding>
107
-            </state>
108
-          </provider>
109
-        </entry>
110
-      </file>
111 143
       <file leaf-file-name="BusinessAccount.java" pinned="false" current-in-tab="false">
112 144
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/BusinessAccount.java">
113 145
           <provider selected="true" editor-type-id="text-editor">
@@ -125,18 +157,6 @@
125 157
           </provider>
126 158
         </entry>
127 159
       </file>
128
-      <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
129
-        <entry file="file://$PROJECT_DIR$/README.md">
130
-          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
131
-            <state split_layout="SPLIT">
132
-              <first_editor relative-caret-position="30">
133
-                <caret line="2" column="1" selection-start-line="2" selection-start-column="1" selection-end-line="2" selection-end-column="1" />
134
-              </first_editor>
135
-              <second_editor />
136
-            </state>
137
-          </provider>
138
-        </entry>
139
-      </file>
140 160
     </leaf>
141 161
   </component>
142 162
   <component name="FileTemplateManagerImpl">
@@ -244,14 +264,6 @@
244 264
               <item name="ZCW-Inheritance-AbstractBankAccount" type="b2602c69:ProjectViewProjectNode" />
245 265
               <item name="ZCW-Inheritance-AbstractBankAccount" type="462c0819:PsiDirectoryNode" />
246 266
               <item name="src" type="462c0819:PsiDirectoryNode" />
247
-              <item name="main" type="462c0819:PsiDirectoryNode" />
248
-              <item name="java" type="462c0819:PsiDirectoryNode" />
249
-              <item name="bankaccountlab" type="462c0819:PsiDirectoryNode" />
250
-            </path>
251
-            <path>
252
-              <item name="ZCW-Inheritance-AbstractBankAccount" type="b2602c69:ProjectViewProjectNode" />
253
-              <item name="ZCW-Inheritance-AbstractBankAccount" type="462c0819:PsiDirectoryNode" />
254
-              <item name="src" type="462c0819:PsiDirectoryNode" />
255 267
               <item name="test" type="462c0819:PsiDirectoryNode" />
256 268
             </path>
257 269
             <path>
@@ -282,6 +294,7 @@
282 294
     </panes>
283 295
   </component>
284 296
   <component name="PropertiesComponent">
297
+    <property name="SearchEverywhereHistoryKey" value="show diagram&#9;ACTION&#9;ShowUmlDiagram&#10;show diagra&#9;ACTION&#9;ShowUmlDiagram" />
285 298
     <property name="WebServerToolWindowFactoryState" value="false" />
286 299
     <property name="aspect.path.notification.shown" value="true" />
287 300
     <property name="last_opened_file_path" value="$PROJECT_DIR$" />
@@ -307,7 +320,7 @@
307 320
       </list>
308 321
     </option>
309 322
   </component>
310
-  <component name="RunManager" selected="JUnit.BuisnessAccountTest">
323
+  <component name="RunManager" selected="JUnit.SavingsAccountTest">
311 324
     <configuration default="true" type="Applet" factoryName="Applet">
312 325
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
313 326
     </configuration>
@@ -348,6 +361,75 @@
348 361
       </option>
349 362
       <patterns />
350 363
     </configuration>
364
+    <configuration name="BuisnessAccountTest.testDebit" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
365
+      <module name="bankaccountlab" />
366
+      <extension name="coverage">
367
+        <pattern>
368
+          <option name="PATTERN" value="com.zipcodewilmington.bankaccountlab.*" />
369
+          <option name="ENABLED" value="true" />
370
+        </pattern>
371
+      </extension>
372
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
373
+      <option name="ALTERNATIVE_JRE_PATH" />
374
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.bankaccountlab" />
375
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.bankaccountlab.BuisnessAccountTest" />
376
+      <option name="METHOD_NAME" value="testDebit" />
377
+      <option name="TEST_OBJECT" value="method" />
378
+      <option name="VM_PARAMETERS" value="-ea" />
379
+      <option name="PARAMETERS" />
380
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
381
+      <option name="PASS_PARENT_ENVS" value="true" />
382
+      <option name="TEST_SEARCH_SCOPE">
383
+        <value defaultName="singleModule" />
384
+      </option>
385
+      <patterns />
386
+    </configuration>
387
+    <configuration name="CheckingAccountTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
388
+      <module name="bankaccountlab" />
389
+      <extension name="coverage">
390
+        <pattern>
391
+          <option name="PATTERN" value="com.zipcodewilmington.bankaccountlab.*" />
392
+          <option name="ENABLED" value="true" />
393
+        </pattern>
394
+      </extension>
395
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
396
+      <option name="ALTERNATIVE_JRE_PATH" />
397
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.bankaccountlab" />
398
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.bankaccountlab.CheckingAccountTest" />
399
+      <option name="METHOD_NAME" />
400
+      <option name="TEST_OBJECT" value="class" />
401
+      <option name="VM_PARAMETERS" value="-ea" />
402
+      <option name="PARAMETERS" />
403
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
404
+      <option name="PASS_PARENT_ENVS" value="true" />
405
+      <option name="TEST_SEARCH_SCOPE">
406
+        <value defaultName="singleModule" />
407
+      </option>
408
+      <patterns />
409
+    </configuration>
410
+    <configuration name="SavingsAccountTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
411
+      <module name="bankaccountlab" />
412
+      <extension name="coverage">
413
+        <pattern>
414
+          <option name="PATTERN" value="com.zipcodewilmington.bankaccountlab.*" />
415
+          <option name="ENABLED" value="true" />
416
+        </pattern>
417
+      </extension>
418
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
419
+      <option name="ALTERNATIVE_JRE_PATH" />
420
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.bankaccountlab" />
421
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.bankaccountlab.SavingsAccountTest" />
422
+      <option name="METHOD_NAME" />
423
+      <option name="TEST_OBJECT" value="class" />
424
+      <option name="VM_PARAMETERS" value="-ea" />
425
+      <option name="PARAMETERS" />
426
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
427
+      <option name="PASS_PARENT_ENVS" value="true" />
428
+      <option name="TEST_SEARCH_SCOPE">
429
+        <value defaultName="singleModule" />
430
+      </option>
431
+      <patterns />
432
+    </configuration>
351 433
     <configuration default="true" type="JUnit" factoryName="JUnit">
352 434
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
353 435
       <option name="ALTERNATIVE_JRE_PATH" />
@@ -429,10 +511,16 @@
429 511
     <list>
430 512
       <item itemvalue="Application.MainApplication" />
431 513
       <item itemvalue="JUnit.BuisnessAccountTest" />
514
+      <item itemvalue="JUnit.BuisnessAccountTest.testDebit" />
515
+      <item itemvalue="JUnit.CheckingAccountTest" />
516
+      <item itemvalue="JUnit.SavingsAccountTest" />
432 517
     </list>
433 518
     <recent_temporary>
434 519
       <list>
520
+        <item itemvalue="JUnit.SavingsAccountTest" />
521
+        <item itemvalue="JUnit.CheckingAccountTest" />
435 522
         <item itemvalue="JUnit.BuisnessAccountTest" />
523
+        <item itemvalue="JUnit.BuisnessAccountTest.testDebit" />
436 524
         <item itemvalue="Application.MainApplication" />
437 525
       </list>
438 526
     </recent_temporary>
@@ -453,12 +541,29 @@
453 541
       <workItem from="1528768994253" duration="248000" />
454 542
       <workItem from="1528769335560" duration="21103000" />
455 543
       <workItem from="1528956055743" duration="171000" />
456
-      <workItem from="1528956297274" duration="2582000" />
544
+      <workItem from="1528956297274" duration="4138000" />
457 545
     </task>
458 546
     <servers />
459 547
   </component>
548
+  <component name="TestHistory">
549
+    <history-entry file="BuisnessAccountTest_testDebit - 2018.06.14 at 13h 42m 31s.xml">
550
+      <configuration name="BuisnessAccountTest.testDebit" configurationId="JUnit" />
551
+    </history-entry>
552
+    <history-entry file="BuisnessAccountTest_testDebit - 2018.06.14 at 13h 43m 05s.xml">
553
+      <configuration name="BuisnessAccountTest.testDebit" configurationId="JUnit" />
554
+    </history-entry>
555
+    <history-entry file="BuisnessAccountTest - 2018.06.14 at 13h 46m 13s.xml">
556
+      <configuration name="BuisnessAccountTest" configurationId="JUnit" />
557
+    </history-entry>
558
+    <history-entry file="CheckingAccountTest - 2018.06.14 at 13h 46m 17s.xml">
559
+      <configuration name="CheckingAccountTest" configurationId="JUnit" />
560
+    </history-entry>
561
+    <history-entry file="SavingsAccountTest - 2018.06.14 at 13h 46m 21s.xml">
562
+      <configuration name="SavingsAccountTest" configurationId="JUnit" />
563
+    </history-entry>
564
+  </component>
460 565
   <component name="TimeTrackingManager">
461
-    <option name="totallyTimeSpent" value="34475000" />
566
+    <option name="totallyTimeSpent" value="36031000" />
462 567
   </component>
463 568
   <component name="ToolWindowManager">
464 569
     <frame x="0" y="0" width="1280" height="800" extended-state="0" />
@@ -466,7 +571,7 @@
466 571
     <layout>
467 572
       <window_info anchor="right" id="Palette" order="3" />
468 573
       <window_info anchor="bottom" id="TODO" order="6" />
469
-      <window_info anchor="bottom" id="Messages" order="7" sideWeight="0.49757674" visible="true" weight="0.20275863" />
574
+      <window_info anchor="bottom" id="Messages" order="7" sideWeight="0.49757674" weight="0.20275863" />
470 575
       <window_info anchor="right" id="Palette&#9;" order="3" />
471 576
       <window_info id="Image Layers" order="2" />
472 577
       <window_info anchor="right" id="Capture Analysis" order="3" />
@@ -474,7 +579,7 @@
474 579
       <window_info anchor="right" id="Maven Projects" order="3" weight="0.32956383" />
475 580
       <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
476 581
       <window_info anchor="bottom" id="Version Control" order="7" />
477
-      <window_info anchor="bottom" id="Run" order="2" weight="0.6068966" />
582
+      <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.4648276" />
478 583
       <window_info anchor="bottom" id="Terminal" order="7" weight="0.328877" />
479 584
       <window_info id="Capture Tool" order="2" />
480 585
       <window_info id="Designer" order="2" />
@@ -503,23 +608,6 @@
503 608
     <option name="myLimit" value="2678400000" />
504 609
   </component>
505 610
   <component name="editorHistoryManager">
506
-    <entry file="file://$PROJECT_DIR$/.gitignore">
507
-      <provider selected="true" editor-type-id="text-editor">
508
-        <state relative-caret-position="90">
509
-          <caret line="6" column="5" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
510
-        </state>
511
-      </provider>
512
-    </entry>
513
-    <entry file="file://$PROJECT_DIR$/README.md">
514
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
515
-        <state split_layout="SPLIT">
516
-          <first_editor relative-caret-position="30">
517
-            <caret line="2" column="1" selection-start-line="2" selection-start-column="1" selection-end-line="2" selection-end-column="1" />
518
-          </first_editor>
519
-          <second_editor />
520
-        </state>
521
-      </provider>
522
-    </entry>
523 611
     <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/ATM.java">
524 612
       <provider selected="true" editor-type-id="text-editor">
525 613
         <state relative-caret-position="120">
@@ -784,21 +872,6 @@
784 872
         </state>
785 873
       </provider>
786 874
     </entry>
787
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/BusinessAccount.java">
788
-      <provider selected="true" editor-type-id="text-editor">
789
-        <state relative-caret-position="105">
790
-          <caret line="7" column="8" selection-start-line="7" selection-start-column="8" selection-end-line="7" selection-end-column="8" />
791
-          <folding>
792
-            <element signature="e#311#312#0" expanded="true" />
793
-            <element signature="e#347#348#0" expanded="true" />
794
-            <element signature="e#381#382#0" expanded="true" />
795
-            <element signature="e#416#417#0" expanded="true" />
796
-            <element signature="e#457#458#0" expanded="true" />
797
-            <element signature="e#514#515#0" expanded="true" />
798
-          </folding>
799
-        </state>
800
-      </provider>
801
-    </entry>
802 875
     <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/MainApplication.java">
803 876
       <provider selected="true" editor-type-id="text-editor">
804 877
         <state relative-caret-position="105">
@@ -823,24 +896,72 @@
823 896
         </state>
824 897
       </provider>
825 898
     </entry>
826
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/BankAccount.java">
899
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/bankaccountlab/BankAccountTest.java">
827 900
       <provider selected="true" editor-type-id="text-editor">
828
-        <state relative-caret-position="45">
829
-          <caret line="3" column="20" selection-start-line="3" selection-start-column="20" selection-end-line="3" selection-end-column="20" />
901
+        <state relative-caret-position="90">
902
+          <caret line="6" selection-start-line="6" selection-end-line="6" />
830 903
         </state>
831 904
       </provider>
832 905
     </entry>
833
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/ATM.java">
906
+    <entry file="uml://JAVA/com.zipcodewilmington.bankaccountlab.SavingsAccountTest">
907
+      <provider selected="true" editor-type-id="UmlEditorProvider">
908
+        <state>
909
+          <ID>JAVA</ID>
910
+          <OriginalElement>com.zipcodewilmington.bankaccountlab.SavingsAccountTest</OriginalElement>
911
+          <nodes>
912
+            <node x="0.0" y="0.0">com.zipcodewilmington.bankaccountlab.SavingsAccountTest</node>
913
+          </nodes>
914
+          <notes />
915
+          <edges />
916
+          <settings layout="Hierarchic Group" zoom="1.0" x="-127.0" y="-6.5" />
917
+          <SelectedNodes>
918
+            <node>com.zipcodewilmington.bankaccountlab.SavingsAccountTest</node>
919
+          </SelectedNodes>
920
+          <Categories />
921
+          <SCOPE>All</SCOPE>
922
+          <VISIBILITY>private</VISIBILITY>
923
+        </state>
924
+      </provider>
925
+    </entry>
926
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/BusinessAccount.java">
834 927
       <provider selected="true" editor-type-id="text-editor">
835
-        <state relative-caret-position="1005">
836
-          <caret line="67" column="46" selection-start-line="67" selection-start-column="46" selection-end-line="67" selection-end-column="46" />
928
+        <state relative-caret-position="105">
929
+          <caret line="7" column="8" selection-start-line="7" selection-start-column="8" selection-end-line="7" selection-end-column="8" />
930
+          <folding>
931
+            <element signature="e#311#312#0" expanded="true" />
932
+            <element signature="e#347#348#0" expanded="true" />
933
+            <element signature="e#381#382#0" expanded="true" />
934
+            <element signature="e#416#417#0" expanded="true" />
935
+            <element signature="e#457#458#0" expanded="true" />
936
+            <element signature="e#514#515#0" expanded="true" />
937
+          </folding>
837 938
         </state>
838 939
       </provider>
839 940
     </entry>
840
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/bankaccountlab/BankAccountTest.java">
941
+    <entry file="uml://JAVA/com.zipcodewilmington.bankaccountlab.ATM">
942
+      <provider selected="true" editor-type-id="UmlEditorProvider">
943
+        <state>
944
+          <ID>JAVA</ID>
945
+          <OriginalElement>com.zipcodewilmington.bankaccountlab.ATM</OriginalElement>
946
+          <nodes>
947
+            <node x="0.0" y="0.0">com.zipcodewilmington.bankaccountlab.ATM</node>
948
+          </nodes>
949
+          <notes />
950
+          <edges />
951
+          <settings layout="Hierarchic Group" zoom="1.0" x="-176.5" y="-6.5" />
952
+          <SelectedNodes>
953
+            <node>com.zipcodewilmington.bankaccountlab.ATM</node>
954
+          </SelectedNodes>
955
+          <Categories />
956
+          <SCOPE>All</SCOPE>
957
+          <VISIBILITY>private</VISIBILITY>
958
+        </state>
959
+      </provider>
960
+    </entry>
961
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/BankAccount.java">
841 962
       <provider selected="true" editor-type-id="text-editor">
842
-        <state relative-caret-position="90">
843
-          <caret line="6" selection-start-line="6" selection-end-line="6" />
963
+        <state relative-caret-position="45">
964
+          <caret line="3" column="20" selection-start-line="3" selection-start-column="20" selection-end-line="3" selection-end-column="20" />
844 965
         </state>
845 966
       </provider>
846 967
     </entry>
@@ -857,10 +978,17 @@
857 978
         </state>
858 979
       </provider>
859 980
     </entry>
981
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/bankaccountlab/ATM.java">
982
+      <provider selected="true" editor-type-id="text-editor">
983
+        <state relative-caret-position="33">
984
+          <caret line="36" column="62" selection-start-line="36" selection-start-column="62" selection-end-line="36" selection-end-column="62" />
985
+        </state>
986
+      </provider>
987
+    </entry>
860 988
     <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/bankaccountlab/BuisnessAccountTest.java">
861 989
       <provider selected="true" editor-type-id="text-editor">
862
-        <state relative-caret-position="390">
863
-          <caret line="26" column="10" selection-start-line="26" selection-start-column="10" selection-end-line="26" selection-end-column="10" />
990
+        <state relative-caret-position="187">
991
+          <caret line="22" column="5" lean-forward="true" selection-start-line="22" selection-start-column="5" selection-end-line="22" selection-end-column="5" />
864 992
           <folding>
865 993
             <element signature="imports" expanded="true" />
866 994
           </folding>
@@ -869,15 +997,18 @@
869 997
     </entry>
870 998
     <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/bankaccountlab/CheckingAccountTest.java">
871 999
       <provider selected="true" editor-type-id="text-editor">
872
-        <state relative-caret-position="345">
873
-          <caret line="23" column="10" selection-start-line="23" selection-start-column="10" selection-end-line="23" selection-end-column="10" />
1000
+        <state relative-caret-position="199">
1001
+          <caret line="22" column="17" lean-forward="true" selection-start-line="22" selection-start-column="17" selection-end-line="22" selection-end-column="17" />
1002
+          <folding>
1003
+            <element signature="imports" expanded="true" />
1004
+          </folding>
874 1005
         </state>
875 1006
       </provider>
876 1007
     </entry>
877 1008
     <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/bankaccountlab/SavingsAccountTest.java">
878 1009
       <provider selected="true" editor-type-id="text-editor">
879
-        <state relative-caret-position="330">
880
-          <caret line="22" column="10" selection-start-line="22" selection-start-column="10" selection-end-line="22" selection-end-column="10" />
1010
+        <state relative-caret-position="163">
1011
+          <caret line="19" column="5" lean-forward="true" selection-start-line="19" selection-start-column="5" selection-end-line="19" selection-end-column="5" />
881 1012
           <folding>
882 1013
             <element signature="imports" expanded="true" />
883 1014
           </folding>

+ 4
- 3
src/test/java/com/zipcodewilmington/bankaccountlab/BuisnessAccountTest.java Zobrazit soubor

@@ -1,5 +1,6 @@
1 1
 package com.zipcodewilmington.bankaccountlab;
2 2
 
3
+import org.junit.jupiter.api.Assertions;
3 4
 import org.junit.jupiter.api.Test;
4 5
 import sun.jvm.hotspot.utilities.Assert;
5 6
 
@@ -14,7 +15,7 @@ public class BuisnessAccountTest {
14 15
         int expected=2500;
15 16
         sa.credit(500);
16 17
         int actual=sa.getBalance();
17
-        //assertEquals(expected, actual);
18
+        Assertions.assertEquals(expected, actual);
18 19
 
19 20
     }
20 21
     @Test
@@ -22,9 +23,9 @@ public class BuisnessAccountTest {
22 23
     {
23 24
         BusinessAccount sa=new BusinessAccount(2000);
24 25
         int expected=1500;
25
-        sa.credit(500);
26
+        sa.debit(500);
26 27
         int actual=sa.getBalance();
27
-        //assertEquals(expected, actual);
28
+        Assertions.assertEquals(expected, actual);
28 29
 
29 30
     }
30 31
 }

+ 4
- 3
src/test/java/com/zipcodewilmington/bankaccountlab/CheckingAccountTest.java Zobrazit soubor

@@ -2,6 +2,7 @@ package com.zipcodewilmington.bankaccountlab;
2 2
 
3 3
 
4 4
 
5
+import org.junit.jupiter.api.Assertions;
5 6
 import org.junit.jupiter.api.Test;
6 7
 
7 8
 public class CheckingAccountTest {
@@ -12,16 +13,16 @@ public class CheckingAccountTest {
12 13
         int expected=2500;
13 14
         sa.credit(500);
14 15
         int actual=sa.getBalance();
15
-        //Assert.assertEquals(expected, actual);
16
+        Assertions.assertEquals(expected, actual);
16 17
 
17 18
     }
18 19
     @Test
19 20
     public void testDebit()
20 21
     {
21 22
         int expected=1500;
22
-        sa.credit(500);
23
+        sa.debit(500);
23 24
         int actual=sa.getBalance();
24
-        //Assert.assertEquals(expected, actual);
25
+        Assertions.assertEquals(expected, actual);
25 26
 
26 27
     }
27 28
 

+ 4
- 3
src/test/java/com/zipcodewilmington/bankaccountlab/SavingsAccountTest.java Zobrazit soubor

@@ -1,5 +1,6 @@
1 1
 package com.zipcodewilmington.bankaccountlab;
2 2
 
3
+import org.junit.jupiter.api.Assertions;
3 4
 import org.junit.jupiter.api.BeforeAll;
4 5
 import org.junit.jupiter.api.Test;
5 6
 
@@ -11,16 +12,16 @@ public class SavingsAccountTest {
11 12
         int expected=2500;
12 13
         sa.credit(500);
13 14
         int actual=sa.getBalance();
14
-       // Assert.assertEquals(expected, actual);
15
+        Assertions.assertEquals(expected, actual);
15 16
 
16 17
     }
17 18
     @Test
18 19
     public void testDebit()
19 20
     {
20 21
         int expected=1500;
21
-        sa.credit(500);
22
+        sa.debit(500);
22 23
         int actual=sa.getBalance();
23
-        //Assert.assertEquals(expected, actual);
24
+        Assertions.assertEquals(expected, actual);
24 25
 
25 26
     }
26 27
 }