head	1.6;
access
	monica
	thoth;
symbols
	r0_9:1.1
	Eglin_alpha_1:1.1;
locks; strict;
comment	@// @;


1.6
date	94.08.23.21.53.32;	author monica;	state Exp;
branches;
next	1.5;

1.5
date	94.08.23.21.52.10;	author monica;	state Exp;
branches;
next	1.4;

1.4
date	94.08.23.21.41.49;	author monica;	state Exp;
branches;
next	1.3;

1.3
date	94.08.16.18.10.51;	author monica;	state Exp;
branches;
next	1.2;

1.2
date	94.07.31.22.18.55;	author monica;	state Exp;
branches;
next	1.1;

1.1
date	93.02.23.12.03.17;	author reti;	state Exp;
branches;
next	;


desc
@@


1.6
log
@changed DoublePoint.h to DblPoint.h
@
text
@// $Log: test.h,v $
//Revision 1.5  1994/08/23  21:52:10  monica
//added RCS tags
//
// $Id: test.h,v 1.5 1994/08/23 21:52:10 monica Exp monica $

#include <iostream.h>
#include <DblPoint.h>
#include <IntPoint.h>

IA_Point<int> piu, pi1(1),pi2(1,2),pi3(-1,0,1),pi4(-1,0,1,2),pi5(-2,-1,0,1,2);
IA_Point<double> pdu, pd1(1.0), pd2(1.0,2.0), pd3(-1.0,0,1.0),
        pd4(-1.0,0,1.0,2.0), pd5(-2.0,-1.0,0,1.0,2.0);

#define p1(a,op,op2,b) \
                   cout<< "\n\t"<< a<< "\t"<< op << "\t"<< b<< "\n";\
		   a op2 b;\
		   cout <<"\t result:" <<a << "\n"
		   
#define p2(a,op,op2,b)\
                   cout<< "\n\t"<< a<< "\t"<< op << "\t"<< b<< "\n";\
		   cout <<"\t result:" << (a op2 b) << "\n"
		   
#define p3(a,op,op2,b)\
                   cout<< "\n\t"<< a<< "\t"<< op << "\t"<< b<< "\n";\
		   (a  op2 b)==0 ? cout <<"\tresult:False\n" \
		                    : cout <<"\tresult:True\n" 

#define p4(op,op2,a)\
                   cout<< "\n\t" << op <<"\t" << a <<"\n";\
		   cout <<"\t result:" << ( op2 a) << "\n"
    
#define p5(a,op,op2)\
                   cout<< "\n\t" << a <<"\t" << op <<"\n";\
		   cout <<"\t result:" << (a op2 )<< "\n"
#define p6(op,op2,b)\
                   cout<< "\n\t"<<op "\t"<<b<<"\n";\
		   fp= op2(b);\
		   cout<<"\t result:" <<fp << "\n"
#define p7(a,b)\
                   cout<<"\n\t"<<a<<"\t concat \t"<<b<<"\n";\
		   cout<<"\t result:" << concat(a,b) <<"\n"
		   
#define p8(f,f2,b,c)\
                   cout<<"\n\t"<<f<<"("<< b<<","<<c<<")\n";\
		   cout<<"\t result:" << f2(b,c) <<"\n"

#define p9(f,f2,b)\
                   cout<<"\n\t"<<f<<"("<<b<<")\n";\
		   cout<<"\t result:" << f2(b) <<"\n"

inline void r3(char h)
{
  cout <<"\t result: ";
  switch (h)
      {
      case -1: cout << "< "; break;
      case  0: cout << "=="; break;
      case  1: cout << "> "; break;
      }
}
@


1.5
log
@added RCS tags
@
text
@d1 5
a5 2
// $Log$
// $Id$
d8 1
a8 1
#include <DoublePoint.h>
@


1.4
log
@*** empty log message ***
@
text
@d1 3
@


1.3
log
@DoublePoint is now DblPoint
@
text
@d2 1
a2 1
#include <DblPoint.h>
@


1.2
log
@*** empty log message ***
@
text
@d2 1
a2 1
#include <DoublePoint.h>
d4 4
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
#include <FloatPoint.h>
@
