head	1.3;
access
	monica
	thoth;
symbols;
locks; strict;
comment	@// @;


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

1.2
date	94.08.18.22.17.06;	author thoth;	state Exp;
branches;
next	1.1;

1.1
date	94.02.18.19.03.41;	author thoth;	state Exp;
branches;
next	;


desc
@test of image restriction.
@


1.3
log
@int main & exit(0)
@
text
@// Emacs -*- C++ -*-

static char test117_rcsid[] = "$Id: test117.c,v 1.2 1994/08/18 22:17:06 thoth Exp monica $";

//
// Test image restriction
//

// 
// $Log: test117.c,v $
//Revision 1.2  1994/08/18  22:17:06  thoth
//incomplete updating.
//
// Revision 1.1  1994/02/18  19:03:41  thoth
// Initial revision
//


#include "FloatDI.h"
#include "FloatCI.h"
#include	"randomIA.h"
#include	"test-ops.h"

typedef	IA_Image<IA_Point<int>,float>	FDI;
typedef	IA_Image<IA_Point<double>,float>	FCI;



int main()
{
    IA_IntPointSet	ps = random_IPS(3,10,0.8);
    FDI	temp = random_FDI(ps);

    ps = random_IPS(3,10,0.8);
    test_restrict(temp, ps, FDI(temp.restrict(ps)));

    ps = random_comp_IPS(3);
    test_restrict(temp, ps, FDI(temp.restrict(ps)));

    exit(0);
}
@


1.2
log
@incomplete updating.
@
text
@d3 1
a3 1
static char test117_rcsid[] = "$Id: test117.c,v 1.1 1994/02/18 19:03:41 thoth Exp thoth $";
d11 3
d29 1
a29 1
main()
d39 2
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
static char test117_rcsid[] = "$Id: test105.c,v 1.1 93/03/10 13:57:00 thoth Exp $";
d10 4
a13 1
// $Log$
d21 2
a22 2
typedef	IA_FloatDiscreteImage	FDI;
typedef	IA_FloatContinuousImage	FCI;
d32 1
a32 1
    test_restrict(temp, ps, temp.restrict(ps));
d35 1
a35 1
    test_restrict(temp, ps, temp.restrict(ps));
@
