ソースを参照

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";