#include "main.h"
#include "support.h"
{
public:
MyProgress() :
m_cnt(0)
{
return;
}
{
printf("%d: %f\n", m_cnt, x);
++m_cnt;
}
public:
int m_cnt;
};
{
MyProgress progress;
const LTFileSpec fileSpec(INPUT_PATH(
"meg_cr20.sid"));
TEST_BOOL(reader != NULL);
const LTIScene scene(0, 0, 640, 480, 1.0);
scene.getNumCols(),
scene.getNumRows(),
NULL);
sts = reader->
read(scene, bufData);
TEST_BOOL(progress.m_cnt == 30);
reader = NULL;
}