소스 검색

Update 'README.MD'

nhu313 6 년 전
부모
커밋
46b01f7cdb
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4
    1
      README.MD

+ 4
- 1
README.MD 파일 보기

@@ -102,7 +102,8 @@ Note: You may use the String/Long compareTo methods in your code
102 102
     Payment check = new Check(81L, "Tia Mowry", "11432543", "134344551")
103 103
 
104 104
     payment[0] = paypal;
105
-
105
+    payment[1] = check;
106
+    
106 107
     PaymentPresenter presenter = new PaymentPresenter();
107 108
     String expected = "Check Tia Mowry ***4551\nPaypal Tia Mowry tia@mowry.com\n";
108 109
 
@@ -119,6 +120,7 @@ Note: You may use the String/Long compareTo methods in your code
119 120
       Payment check = new Check(81L, "Tia Mowry", "11432543", "134344551")
120 121
 
121 122
       payment[0] = paypal;
123
+      payment[1] = check;
122 124
 
123 125
       PaymentPresenter presenter = new PaymentPresenter();
124 126
       String expected = "Paypal Tamara Mowry tamara@mowry.com\nCheck Tia Mowry ***4551\n";
@@ -136,6 +138,7 @@ Note: You may use the String/Long compareTo methods in your code
136 138
       Payment check = new Check(81L, "Tia Mowry", "11432543", "134344551")
137 139
 
138 140
       payment[0] = paypal;
141
+      payment[1] = check;
139 142
 
140 143
       PaymentPresenter presenter = new PaymentPresenter();
141 144
       String expected = "Paypal Tamara Mowry tamara@mowry.com\nCheck Tia Mowry ***4551\n";