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


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

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

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

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

1.1
date	94.08.23.22.50.26;	author monica;	state Exp;
branches;
next	;


desc
@added rcs tags
@


1.5
log
@commented out malloc debug stmts
@
text
@#include "test.h"
// $Id: test020.c,v 1.4 1994/09/19 15:31:55 monica Exp monica $ $Log: test020.c,v $
// Revision 1.4  1994/09/19  15:31:55  monica
// *** empty log message ***
//
// Revision 1.3  1994/08/31  18:35:45  monica
// updated imagefile location
//
// Revision 1.2  1994/08/24  00:30:59  monica
// int main & exit(0)
//
// Revision 1.1  1994/08/23  22:50:26  monica
// Initial revision
//

//extern "C" malloc_debug();

int main ()
{
    IA::abort_on_throw=0;

//    malloc_debug(2);
    // declare images

    IA_Image<IA_Point<int>,int> sr71 = read_int_PGM("/cis/research/iac++/depot/src/test_image/RCS/sr71.pgm");

    IA_Image<IA_Point<int>,int> sr71rot = read_int_PGM("/cis/research/iac++/depot/src/test_image/RCS/sr71rot.pgm");

    IA_Image<IA_Point<int>,int> im2 = sr71;

    IA_Image<IA_Point<int>,int> bob = read_int_PGM("/cis/research/iac++/depot/src/test_image/RCS/bob.pgm");

    IA_Image<IA_Point<int>,int> empt;

    stats(sr71);
    stats(im2);
    stats(sr71rot);
    stats(bob);
    stats(empt);

    cout << "Testing Op *=\n";

#define q(a,b) p1(a,"*=",*=,b)

    q(sr71, im2);  // im2 is a copy of sr71;
    q(im2, sr71);

    q(sr71, sr71rot);  // different images over same ps
    q(sr71rot, sr71);

    q(sr71, bob);  // images have differing pointsets
    q(im2, bob);
    q(bob, sr71);

    q(empt, bob); // empt is an empty image
    q(bob, empt);

    q(sr71, sr71); // using same operand twice
    q(bob, bob);
    q(empt, empt);

    exit(0);
}
    
 

@


1.4
log
@*** empty log message ***
@
text
@d2 4
a5 1
// $Id: test020.c,v 1.3 1994/08/31 18:35:45 monica Exp monica $ $Log: test020.c,v $
d22 1
a22 1
    malloc_debug(2);
@


1.3
log
@updated imagefile location
@
text
@d2 4
a5 1
// $Id: test020.c,v 1.2 1994/08/24 00:30:59 monica Exp monica $ $Log: test020.c,v $
d9 3
a11 3
// * Revision 1.1  1994/08/23  22:50:26  monica
// * Initial revision
// *
@


1.2
log
@int main & exit(0)
@
text
@d2 4
a5 1
// $Id: test020.c,v 1.1 1994/08/23 22:50:26 monica Exp monica $ $Log: test020.c,v $
d19 1
a19 1
    IA_Image<IA_Point<int>,int> sr71 = read_int_PGM("/cis/homes/monica/test/test_image/sr71.pgm");
d21 1
a21 1
    IA_Image<IA_Point<int>,int> sr71rot = read_int_PGM("/cis/homes/monica/test/test_image/sr71rot.pgm");
d25 1
a25 1
    IA_Image<IA_Point<int>,int> bob = read_int_PGM("/cis/homes/monica/test/test_image/bob.pgm");
@


1.1
log
@Initial revision
@
text
@d2 4
a5 1
// $Id$ $Log$
d9 1
a9 1
main ()
d52 2
@
