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


1.4
date	94.11.10.19.40.19;	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.41.08;	author monica;	state Exp;
branches;
next	;


desc
@added rcs tags
@


1.4
log
@commented out malloc debug stmts
@
text
@#include "test.h"

//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.3
log
@updated imagefile location
@
text
@d9 1
a9 1
    malloc_debug(2);
@


1.2
log
@int main & exit(0)
@
text
@d12 1
a12 1
    IA_Image<IA_Point<int>,int> sr71 = read_int_PGM("/cis/homes/monica/test/test_image/sr71.pgm");
d14 1
a14 1
    IA_Image<IA_Point<int>,int> sr71rot = read_int_PGM("/cis/homes/monica/test/test_image/sr71rot.pgm");
d18 1
a18 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
@d5 1
a5 1
main ()
d48 2
@
