#include #include #include "jkqtcommon/jkqtpcsstools.h" #include "jkqtcommon/jkqtpcachingtools.h" #ifndef QCOMPARE_EQ #define QCOMPARE_EQ(A,B) if (!static_cast((A)==(B))) {qDebug()< cache([](int key) { return QString::number(key);}, 100,0.8); QString sum; for (int i=0; i<100; i++) { sum+=cache.get(i); } qDebug()<<"sum.size()="<