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


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

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

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

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

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


desc
@@


1.5
log
@added return 0 to main
@
text
@static char rcsid []="$Id: test014.c,v 1.4 1994/08/16 20:06:01 monica Exp monica $";
//  $RCS$
 
//  $Log: test014.c,v $
// Revision 1.4  1994/08/16  20:06:01  monica
// int main
//
// Revision 1.3  1994/08/16  17:54:13  monica
// changed comments
//
// Revision 1.2  1994/07/31  17:48:25  monica
// changed IntPoint => IA_Point<int>
// changed FloatPoint => IA_Point<double>
// changed supremum, infimum => sup, inf
//
// Revision 1.1  1992/11/18  21:43:25  reti
// Initial revision
//
#include "test.h"

#define q2(a,b) p8("inf",inf,a,b)
#define q1(a) p9("min",min,a)

int main ()
{
IA_Point<double> ip,ip1(1),ip2(1,2.3),ip4(-5,0,1,-2),ip5(1,2.2,3,4,5),
 ip55(-1,0,7,2,11);
IA_Point<int> i(-1,4,6,0,-3);


IA::abort_on_throw=0;

cout << "Testing min\n";

q1(ip1);
q1(ip2);
q1(ip4);
q1(ip5);

cout << "Testing inf\n";

q2(ip1,ip5);
q2(ip4,ip5);
q2(ip5,-ip5);
q2(ip5,ip55);
q2(2*ip5,ip55);
q2(ip5,i);


return 0;

}
@


1.4
log
@int main
@
text
@d1 1
a1 1
static char rcsid []="$Id: test014.c,v 1.3 1994/08/16 17:54:13 monica Exp monica $";
d5 3
d48 3
@


1.3
log
@changed comments
@
text
@d1 1
a1 1
static char rcsid []="$Id: test014.c,v 1.2 1994/07/31 17:48:25 monica Exp monica $";
d5 3
d21 1
a21 1
main ()
@


1.2
log
@changed IntPoint => IA_Point<int>
changed FloatPoint => IA_Point<double>
changed supremum, infimum => sup, inf
@
text
@d1 1
a1 1
static char rcsid []="$Id: test043.c,v 1.1 1992/11/18 21:43:25 reti Exp monica $";
d4 6
a9 1
//  $Log: test043.c,v $
d27 2
d33 3
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
static char rcsid []="$Id$";
d4 4
a7 1
//  $Log:	test043.C,v $
d10 1
a10 1
#define q2(a,b) p8("infimum",infimum,a,b)
d15 1
a15 1
FloatPoint ip,ip1(1),ip2(1,2.3),ip4(-5,0,1,-2),ip5(1,2.2,3,4,5),
d17 1
a17 1
IntPoint i(-1,4,6,0,-3);
d20 1
a20 1
IA::exit_on_throw=0;
@
