AFF --- A container for numbers (array) by Friederich and Forbriger.
shapetest.cc File Reference

test shape classes (implementation) More...

#include <iostream>
#include <aff/dump.h>
#include <aff/shaper.h>
#include <aff/lib/stridedstepper.h>
Include dependency graph for shapetest.cc:

Go to the source code of this file.

Macros

#define AFF_SHAPETEST_CC_VERSION   "AFF_SHAPETEST_CC V1.3"
 
#define BOOLIS(S)   cout << " *** " << #S << ": " << bvalue(S);
 print value of a bool More...
 

Functions

void section (const char *s, const char l='-')
 print headline More...
 
const char * bvalue (const bool &b)
 print value of a bool More...
 
void steppers (const Strided &shape, const int &nmax=30)
 cycle steppers More...
 
int main ()
 test shape class More...
 

Detailed Description

test shape classes (implementation)


Author
Thomas Forbriger
Date
25/05/2002

test shape classes (implementation)


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)

REVISIONS and CHANGES

  • 25/05/2002 V1.0 Thomas Forbriger
  • 18/12/2002 V1.1 (thof)
    • started test of Strided (aff)
    • test works
  • 19/12/2002 V1.2 (thof)
    • print valid() of stepper too
  • 09/01/2003 V1.3 (thof)
    • using too many bracket operators now triggers an exception in aff::Shaper

Definition in file shapetest.cc.