Example #1
0
int main() {
	int ret = 0;

	// test JudyV
	if ((ret = testArray()) != 0)
		return ret;

	if ((ret = testArrayPtrStruct()) != 0)
		return ret;

	// test Map
	if ((ret = testMap()) != 0)
		return ret;

	// test MapHS
	if ((ret = testMapHS()) != 0)
		return ret;

	// test MapHSOrd
	if ((ret = testMapHSOrd()) != 0)
		return ret;

	// test Judy1
	if ((ret = testBitArray()) != 0)
		return ret;

	return ret;
}
Example #2
0
/* Test Array, BitArray, HashTable, ReadBuffer, and WriteBuffer (including
 * remote writing */
int main(int argc, char **argv) {
    testArray();
    testBitArray();
    testHashTable();
    testBuffers();
    return 0;
}