Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. Failures
  2. ==========
  3. 0: Testing constructor populated board twice
  4. 1: Testing combineLeft() with {{2,2,0,0},{2,2,2,2},{0,0,2,0},{0,0,2,2}}
  5. result:{[2, 2, 0, 0],[2, 2, 2, 2],[0, 0, 2, 0],[0, 0, 2, 2],}
  6. expected:{[4, 0, 0, 0],[4, 0, 4, 0],[0, 0, 2, 0],[0, 0, 4, 0],}
  7. 2: Testing combineRight() with {{2,2,0,0},{2,2,2,2},{0,2,0,0},{0,0,2,2}}
  8. result:{[2, 2, 0, 0],[2, 2, 2, 2],[0, 2, 0, 0],[0, 0, 2, 2],}
  9. expected:{[0, 4, 0, 0],[0, 4, 0, 4],[0, 2, 0, 0],[0, 0, 0, 4],}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement