Test series class aff::Series.
- See also
- tests/seriestest.cc
#define AFF_SERIESTEST_CC_VERSION \
"AFF_SERIESTEST_CC V1.2"
using std::cout;
using std::endl;
{
cout << endl
<< s << endl;
const char* p=s;
while (*p) {
cout << "-";
++p;
}
cout << endl;
}
{
section(
"create a series container");
CODE(
for (
int i=C.first(); i<=C.last(); i++) { C(i)=i; } );
CODE( C.setlastindex(N-2); );
#ifdef ILLEGAL1
#endif
}