Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Check all the values
  • Loading branch information
holdenk committed Feb 27, 2014
commit e2331ed31943a23edcfd166b22692c64d43ac93d
2 changes: 2 additions & 0 deletions core/src/test/java/org/apache/spark/JavaAPISuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ public Iterator<Integer> call(Integer start, java.util.Iterator<Integer> iter) {
}
}, false);
Assert.assertEquals(0, rddByIndex.first().intValue());
Integer[] values = {0, 2, 6, 12, 20};
Assert.assertEquals(Arrays.asList(values), rddByIndex.collect());
}


Expand Down