#include "cs_config.h" #include #include #include "util/neo_misc.h" #include "util/neo_hdf.h" #include "util/neo_rand.h" int TestCompare(const void* pa, const void* pb) { HDF **a = (HDF **)pa; HDF **b = (HDF **)pb; float aVal,bVal; aVal = atof(hdf_get_value(*a,"val","0")); bVal = atof(hdf_get_value(*b,"val","0")); printf("TestCompare aVal=%f [%s] bVal=%f [%s]\n",aVal,hdf_get_value(*a,"name","?"),bVal,hdf_get_value(*b,"name","?")); if (aVal