Package org.apache.calcite.runtime
Class BinarySearchTest
- java.lang.Object
-
- org.apache.calcite.runtime.BinarySearchTest
-
public class BinarySearchTest extends java.lang.Object
TestsBinarySearch
.
-
-
Constructor Summary
Constructors Constructor Description BinarySearchTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
search(int key, int lower, int upper, java.lang.Integer... array)
void
testAllTheSame()
void
testEmpty()
void
testMissing()
void
testRepeated()
void
testSimple()
void
testSingle()
-
-
-
Method Detail
-
search
private void search(int key, int lower, int upper, java.lang.Integer... array)
-
testSimple
public void testSimple()
-
testRepeated
public void testRepeated()
-
testMissing
public void testMissing()
-
testEmpty
public void testEmpty()
-
testSingle
public void testSingle()
-
testAllTheSame
public void testAllTheSame()
-
-