示例#1
0
        public void CalculateNumberOfSlotsBetween(int startIndex, int endIndex, int arrayLength, int expectedNumberOfSlots)
        {
            var actualNumberOfSlots = ArrayMath.CalculateNumberOfSlotsBetween(startIndex, endIndex, arrayLength);

            actualNumberOfSlots.Should().Be(expectedNumberOfSlots);
        }