C# 클래스 BitsetsNET.Tests.SetGenerator

파일 보기 프로젝트 열기: BitSetsNet/BitSetsNet 1 사용 예제들

공개 메소드들

메소드 설명
GetContiguousArray ( int start, int end ) : int[]
GetContiguousArrayWithExceptions ( int start, int end, int exceptions ) : int[]

Knocks out a few selected values from a contiguous array to allow meaningful difference testing.This would ordinarily be done by just using GetContiguousArray and flipping the bits off with Set() or Flip(), but those are not currently Implemented in RLE.

GetRandomArray ( int length, int maxNumberOfOnes ) : int[]

비공개 메소드들

메소드 설명
SetGenerator ( ) : System

메소드 상세

GetContiguousArray() 공개 정적인 메소드

public static GetContiguousArray ( int start, int end ) : int[]
start int
end int
리턴 int[]

GetContiguousArrayWithExceptions() 공개 정적인 메소드

Knocks out a few selected values from a contiguous array to allow meaningful difference testing.This would ordinarily be done by just using GetContiguousArray and flipping the bits off with Set() or Flip(), but those are not currently Implemented in RLE.
public static GetContiguousArrayWithExceptions ( int start, int end, int exceptions ) : int[]
start int
end int
exceptions int
리턴 int[]

GetRandomArray() 공개 정적인 메소드

public static GetRandomArray ( int length, int maxNumberOfOnes ) : int[]
length int
maxNumberOfOnes int
리턴 int[]