DatasetSplitSet implements IDatasetSplitSet<D> { @Override public int getNumberOfFoldsPerSplit() { return this.splits.get(0).size(); } DatasetSplitSet();  DatasetSplitSet(final IDatasetSplitSet<D> set);  DatasetSplitSet(final List<List<D>> splits); void addSplit(final List<D> split); @Override int getNumberOfSplits(); @Override int getNumberOfFoldsPerSplit(); int getNumberOfFoldsForSplit(final int pos); @Override List<D> getFolds(final int splitId);  }
@Test public void testGetNumberofFoldsPerSplit() { assertEquals("The number of folds does not match for the first split.", this.testSplits.get(0).size(), this.splitSet.getNumberOfFoldsPerSplit()); }