Browse Source

ScoreSheet complete with tests other than ones where I need a Dice[]

Lauren Green 6 years ago
parent
commit
0d31d9762d
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/main/java/io/zipcoder/casino/ScoreSheet.java

+ 1
- 2
src/main/java/io/zipcoder/casino/ScoreSheet.java View File

134
                 numbers.remove(i);
134
                 numbers.remove(i);
135
             }
135
             }
136
         }
136
         }
137
-        System.out.println(numbers);
137
+
138
         while(numbers.size() > 4) {
138
         while(numbers.size() > 4) {
139
             if (numbers.get(0) + 1 != numbers.get(1)) {
139
             if (numbers.get(0) + 1 != numbers.get(1)) {
140
                 numbers.remove(0);
140
                 numbers.remove(0);
143
             }
143
             }
144
         }
144
         }
145
         if(numbers.size() < 4) return false;
145
         if(numbers.size() < 4) return false;
146
-        System.out.println(numbers);
147
 
146
 
148
         boolean check = false;
147
         boolean check = false;
149
         if(numbers.toString().equals("[1, 2, 3, 4]") ||
148
         if(numbers.toString().equals("[1, 2, 3, 4]") ||