public void PartitionBy_WithNonEmptyEnumerableAndLesserCount_ExpectsEnumerableWithMultipleSlices()
        {
            var slices = ENMRBL_NON_EMPTY.PartitionBy(COUNT_LESSER);

            Equal(Math.Ceiling((double)COUNT_RIGHT / COUNT_LESSER), slices.Count());
            Equal(ENMRBL_NON_EMPTY, slices.SelectMany(s => s), MultiItemsEnumerableEqualityComparer.Instance);
        }
 public void PartitionBy_WithNonEmptyEnumerableAndGreaterCount_ExpectsSameEnumerableAsSingleEnumerable()
 => Utilities.AssertManySequencesEqual(
     ENMRBL_NON_EMPTY.PartitionBy(COUNT_GREATER),
     Enumerable.Repeat(ENMRBL_NON_EMPTY, 1));
 public void PartitionBy_WithNonEmptyEnumerableAndEmptyCount_Throws()
 => Throws <ArgumentOutOfRangeException>(
     () => ENMRBL_NON_EMPTY.PartitionBy(0).ToList());