diff --git a/interface/src/main.cpp b/interface/src/main.cpp index df77265ea9..e285b38848 100644 --- a/interface/src/main.cpp +++ b/interface/src/main.cpp @@ -1634,6 +1634,33 @@ int main(int argc, const char * argv[]) return EXIT_SUCCESS; } + // Quick test of sortedArrays helper + if (cmdOptionExists(argc, argv, "--testSortedArray")) { + void* values[8]; + float keys[8]; + int meta[8]; + int count = 0; + + count = insertIntoSortedArrays((void*)10, 10.0, 1, values, keys, meta, count, 8); + printf("after one insert...\n"); + for (int i=0; i