C# Class Lucene.Net.Util.TestNumericUtils

Inheritance: LuceneTestCase
Exibir arquivo Open project: apache/lucenenet Class Usage Examples

Public Properties

Property Type Description
DOUBLE_NANs double[]
FLOAT_NANs float[]

Private Methods

Method Description
AssertIntRangeSplit ( int lower, int upper, int precisionStep, bool useBitSet, IEnumerable expectedBounds, IEnumerable expectedShifts ) : void

Note: The neededBounds Iterable must be unsigned (easier understanding what's happening)

AssertLongRangeSplit ( long lower, long upper, int precisionStep, bool useBitSet, IEnumerable expectedBounds, IEnumerable expectedShifts ) : void

Note: The neededBounds Iterable must be unsigned (easier understanding what's happening)

ExecuteOneRandomSplit ( Random random ) : void
RandomLong ( Random random ) : long
TestDoubles ( ) : void
TestFloats ( ) : void
TestIntConversionAndOrdering ( ) : void
TestIntSpecialValues ( ) : void
TestLongConversionAndOrdering ( ) : void
TestLongExtremeValues ( ) : void
TestLongSpecialValues ( ) : void
TestRandomSplit ( ) : void
TestSortableDoubleNaN ( ) : void
TestSortableFloatNaN ( ) : void
TestSplitIntRange ( ) : void
TestSplitLongRange ( ) : void

Property Details

DOUBLE_NANs public_oe static_oe property

public static double[] DOUBLE_NANs
return double[]

FLOAT_NANs public_oe static_oe property

public static float[] FLOAT_NANs
return float[]