12#ifndef __test_numbers_h__
13#define __test_numbers_h__
26 static Vector<Double> sCont;
29 std::fstream f(TEST_NUMBER_FILE, f.in);
30 CXZ_ASSERT(f.is_open(),
"test number file '" << TEST_NUMBER_FILE <<
"'not found");
34 for(SizeT i = 0; i != nsize; ++i){
37 CXZ_ASSERT(f.good(),
"error while reading test number file '" << TEST_NUMBER_FILE <<
"'");
45 if(sCont.size() == 0) init();
46 return sCont.cbegin();
51 if(sCont.size() == 0) init();
55 static auto get(SizeT pos, SizeT size)
59 CXZ_ASSERT(e <= end(),
"requested test numbers out of range");
60 return Vector<Double>(b,e);
#define CXZ_ASSERT(statement, errmsg)