Class BreakableSpliteratorTest

java.lang.Object
org.soliscode.test.breakable.BreakableSpliteratorTest

@DisplayName("Tests for BreakableSpliterator") public class BreakableSpliteratorTest extends Object
Tests for the BreakableSpliterator class. These tests determine if the breaks supported by this class result in the behavior expected.
Since:
1.0
Author:
evanbergstrom
See Also:
  • Constructor Details

    • BreakableSpliteratorTest

      public BreakableSpliteratorTest()
  • Method Details

    • testSpliteratorWithSpliteratorIsAlwaysEmptyBeak

      @Test public void testSpliteratorWithSpliteratorIsAlwaysEmptyBeak()
    • testSpliteratorWithForEachRemainingDoesNotCallActionBreak

      @Test public void testSpliteratorWithForEachRemainingDoesNotCallActionBreak()
    • testSpliteratorWithTrySplitAlwaysReturnsNullBreak

      @Test public void testSpliteratorWithTrySplitAlwaysReturnsNullBreak()
    • testSpliteratorWithTryAdvanceDoesNotCallActionBreak

      @Test public void testSpliteratorWithTryAdvanceDoesNotCallActionBreak()
    • testSpliteratorWithTryAdvanceAlwaysReturnsTrueBreak

      @Test public void testSpliteratorWithTryAdvanceAlwaysReturnsTrueBreak()
    • testSpliteratorWithTryAdvanceAlwaysReturnsFalseBreak

      @Test public void testSpliteratorWithTryAdvanceAlwaysReturnsFalseBreak()
    • testSpliteratorWithEstimateSizeAlwaysReturnsMaxValueBreak

      @Test public void testSpliteratorWithEstimateSizeAlwaysReturnsMaxValueBreak()
    • testSpliteratorWithEstimateSizeAlwaysReturnsZeoBreak

      @Test public void testSpliteratorWithEstimateSizeAlwaysReturnsZeoBreak()
    • testSpliteratorWithGetExactSizeIfKnown

      @Test public void testSpliteratorWithGetExactSizeIfKnown()
    • testSpliteratorWithGetExactSizeIfKnownAlwaysReturnsNegativeOneBreak

      @Test public void testSpliteratorWithGetExactSizeIfKnownAlwaysReturnsNegativeOneBreak()
    • testSpliteratorWithCharacteristicsAlwaysReturnsZeroBreak

      @Test public void testSpliteratorWithCharacteristicsAlwaysReturnsZeroBreak()
    • testSpliteratorWithHasCharacteristicAlwaysReturnsTrueBreak

      @Test public void testSpliteratorWithHasCharacteristicAlwaysReturnsTrueBreak()
    • testSpliteratorWithHasCharacteristicWorks

      @Test public void testSpliteratorWithHasCharacteristicWorks()
    • testSpliteratorWithHasCharacteristicAlwaysReturnsFalseBreak

      @Test public void testSpliteratorWithHasCharacteristicAlwaysReturnsFalseBreak()
    • testSpliteratorGetComparatorAlwaysReturnsNull

      @Test public void testSpliteratorGetComparatorAlwaysReturnsNull()
    • testGetComparator

      @Test public void testGetComparator()