head	1.2;
access;
symbols;
locks; strict;
comment	@// @;


1.2
date	94.09.02.02.13.58;	author rjj;	state Exp;
branches;
next	1.1;

1.1
date	94.09.01.00.12.56;	author rjj;	state Exp;
branches;
next	;


desc
@Placing under RCS.  This should be the source corresponding to UM 1.0
@


1.2
log
@Made iac++ 2.0 compliant.  Corrected file header comment.  Added exit().
@
text
@// pointcmp-test.c

#include <stdlib.h>
#include "IntPoint.h"

int main() {

    IA_IntPoint
	p0(0),
	p00(0,0),
	p000(0,0,0),
	p0000(0,0,0,0),
	p001(0,0,1);

    cout << "pointcmp(p0,p0...) ____________________________ " << endl;

    cout << "\tpointcmp(p0,p00)   = " << pointcmp(p0,p00) << endl;
    cout << "\tpointcmp(p0,p000)  = " << pointcmp(p0,p000) << endl;
    cout << "\tpointcmp(p0,p0000) = " << pointcmp(p0,p0000) << endl;

    cout << "\tpointcmp(p00,p0)   = " << pointcmp(p00,p0) << endl;
    cout << "\tpointcmp(p000,p0)  = " << pointcmp(p000,p0) << endl;
    cout << "\tpointcmp(p0000,p0) = " << pointcmp(p0000,p0)
	 << endl << endl;

    cout << "pointcmp(p0...,p001) __________________________ "
	 << endl;

    cout << "\tpointcmp(p0,p001)    = " << pointcmp(p0,p001) << endl;
    cout << "\tpointcmp(p00,p001)   = " << pointcmp(p00,p001) << endl;
    cout << "\tpointcmp(p000,p001   = " << pointcmp(p000,p001) << endl;
    cout << "\tpointcmp(p0000,p001) = " << pointcmp(p0000,p001) 
	 << endl << endl;

    cout << "\tpointcmp(p001,p0)    = " << pointcmp(p001,p0) << endl;
    cout << "\tpointcmp(p001,p00)   = " << pointcmp(p001,p00) << endl;
    cout << "\tpointcmp(p001,p000)  = " << pointcmp(p001,p000) << endl;
    cout << "\tpointcmp(p001,p0000) = " << pointcmp(p001,p0000) << endl;

    exit( 0 );
}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
// -*- C++ -*-
d3 1
a3 2
// template_example.01.c

d6 1
a6 1
main() {
d40 1
@
