public final class TestPlume
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TestPlume.PrintOneIntPerTimePeriod
Print one integer periodically.
|
Constructor and Description |
---|
TestPlume() |
Modifier and Type | Method and Description |
---|---|
static void |
assert_arrays_equals(double[] a1,
double[] a2) |
static void |
assert_arrays_equals(int[] a1,
int[] a2) |
void |
compareJoinAndSBD(java.lang.String[] strings) |
static void |
compareOrderedPairIterator(OrderedPairIterator<java.lang.Integer> opi,
int[][] ints)
Throws an assertion unless the paired iterator contains the same values as the argument array.
|
static java.util.Iterator<java.lang.Integer> |
int_array_iterator(int[] nums) |
static int[] |
int_iterator_array(java.util.Iterator<java.lang.Integer> itor) |
void |
test_create_combinations()
Tests UtilMDE create_combinations routines.
|
void |
test_fullyQualifiedNameToSimpleName() |
void |
testArraysMDE_comparators() |
void |
testArraysMDE_functions() |
void |
testArraysMDE_indexOf() |
void |
testArraysMDE_min_max() |
void |
testArraysMDE_nullness() |
void |
testArraysMDE_partitioning() |
void |
testArraysMDE_printing() |
void |
testArraysMDE_set_operations() |
void |
testArraysMDE_sorting() |
void |
testArraysMDE_subarray() |
void |
testArraysMDE_sum() |
void |
testClassFileVersion() |
void |
testCountingPrintWriter()
Tests whether CountingPrintWriter counts the bytes printed, written for different types
(boolean, int, float etc.).
|
void |
testFuzzyFloat()
Test the comparison, indexof, and set equivalence calls in fuzzy float.
|
void |
testGraphMDE() |
void |
testHasher() |
void |
testIntern() |
void |
testInternObject() |
void |
testLimitedSizeSet() |
void |
testMathMDE() |
void |
testOrderedPairIterator() |
void |
testSequenceAndIndices()
Test the intering of subsequences as triples of the original sequence, the start and the end
indices.
|
void |
testSplitLines() |
void |
testStringBuilderDelimited() |
void |
testTestUtilMDE() |
void |
testUtilMDE() |
void |
testWeakHasherMap() |
void |
testWeakIdentityHashMap()
These tests could be much more thorough.
|
static <T> java.util.ArrayList<T> |
toArrayList(java.util.Enumeration<T> e) |
static <T> java.util.ArrayList<T> |
toArrayList(java.util.Iterator<T> itor) |
public static void assert_arrays_equals(int[] a1, int[] a2)
public static void assert_arrays_equals(double[] a1, double[] a2)
public static java.util.Iterator<java.lang.Integer> int_array_iterator(int[] nums)
public static int[] int_iterator_array(java.util.Iterator<java.lang.Integer> itor)
public static <T> java.util.ArrayList<T> toArrayList(java.util.Iterator<T> itor)
public static <T> java.util.ArrayList<T> toArrayList(java.util.Enumeration<T> e)
public void testArraysMDE_min_max()
public void testArraysMDE_sum()
public void testArraysMDE_indexOf()
public void testArraysMDE_subarray()
public void testArraysMDE_printing()
public void testArraysMDE_sorting()
public void testArraysMDE_functions()
public void testArraysMDE_set_operations()
public void testArraysMDE_comparators()
public void testArraysMDE_nullness()
public void testArraysMDE_partitioning()
public void testHasher()
public void testIntern()
public void testInternObject()
public void testLimitedSizeSet()
public void testMathMDE()
public void testOrderedPairIterator()
public static void compareOrderedPairIterator(OrderedPairIterator<java.lang.Integer> opi, int[][] ints)
opi
- an iterator over pairs of integersints
- an array of two-element arrays of integersjava.lang.AssertionError
- iff the iterator returns the same values as the argument array containspublic void testStringBuilderDelimited()
public void compareJoinAndSBD(java.lang.String[] strings)
public void testUtilMDE()
public void testTestUtilMDE()
public void testWeakHasherMap()
public void testWeakIdentityHashMap()
public void testClassFileVersion()
public void testCountingPrintWriter()
public void testSequenceAndIndices()
public void testFuzzyFloat()
public void test_create_combinations()
public void test_fullyQualifiedNameToSimpleName()
public void testSplitLines()
public void testGraphMDE()