//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setUp() public virtual void SetUp() { this._layout = GetLayout(_random); _loadCountTransactions = _random.intBetween(300, 1_000); _minInsertCountPerBatch = 30; _maxInsertCountPerBatch = 200; _minRemoveCountPerBatch = 5; _maxRemoveCountPerBatch = 20; }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test void shouldFillRandomGaps() internal virtual void ShouldFillRandomGaps() { // given int numberOfRanges = _random.intBetween(50, 100); int[] ranges = new int[numberOfRanges]; for (int rangeId = 0; rangeId < numberOfRanges; rangeId++) { ranges[rangeId] = _random.Next(1 << RANGE_SIZE); } GapFreeAllEntriesLabelScanReader reader = NewGapFreeAllEntriesLabelScanReader(ranges); // when IEnumerator <NodeLabelRange> iterator = reader.GetEnumerator(); // then AssertRanges(iterator, ranges); }