Permalink
Browse files

Check all the values

  • Loading branch information...
1 parent 215a9bf commit e2331ed31943a23edcfd166b22692c64d43ac93d @holdenk committed Feb 17, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 core/src/test/java/org/apache/spark/JavaAPISuite.java
@@ -394,6 +394,8 @@ public void mapPartitionsWithIndex() {
}
}, false);
Assert.assertEquals(0, rddByIndex.first().intValue());
+ Integer[] values = {0, 2, 6, 12, 20};
+ Assert.assertEquals(Arrays.asList(values), rddByIndex.collect());
}

0 comments on commit e2331ed

Please sign in to comment.