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


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

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

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


desc
@@


1.3
log
@added testing for float
@
text
@
static char rcsid []="$Id: test232.c,v 1.2 1994/08/17 03:52:24 monica Exp monica $";
//  $RCS$
 
//  $Log: test232.c,v $
// Revision 1.2  1994/08/17  03:52:24  monica
// added int main
// added return 0
//
// Revision 1.1  1992/11/18  21:14:16  reti
// Initial revision
//

#include "test.h" 

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

IA_Set<int> s1,s2,s3;
s1= vi1|vi2|si4|vi7; s2= vi1|vi2|vi3|si5; s3= vi1|vi3|si4|si6;   
    
#define q1(a,b) p11(a,"/",/,b)
#define q2(a,b) p11(a,"&",&,b)
#define q3(a,b) p11(a,"^",^,b)
#define q4(a,b) p11(a,"|",|,b)

q1(s1,s2);q1(s2,s1); q2(s1,s2); q3(s1,s2); q4(s1,s2);
q1(s1,s3);q1(s3,s1); q2(s1,s3); q3(s1,s3); q4(s1,s3);
q1(s2,s3);q1(s3,s2); q2(s2,s3); q3(s2,s3); q4(s2,s3);



IA_Set<float> sf1,sf2,sf3;
sf1= vf1|vf2|sf4|vf7; sf2= vf1|vf2|vf3|sf5; sf3= vf1|vf3|sf4|sf6;   
    
#define qf1(a,b) p11f(a,"/",/,b)
#define qf2(a,b) p11f(a,"&",&,b)
#define qf3(a,b) p11f(a,"^",^,b)
#define qf4(a,b) p11f(a,"|",|,b)

qf1(sf1,sf2);qf1(sf2,sf1); qf2(sf1,sf2); qf3(sf1,sf2); qf4(sf1,sf2);
qf1(sf1,sf3);qf1(sf3,sf1); qf2(sf1,sf3); qf3(sf1,sf3); qf4(sf1,sf3);
qf1(sf2,sf3);qf1(sf3,sf2); qf2(sf2,sf3); qf3(sf2,sf3); qf4(sf2,sf3);

    return 0;

}




@


1.2
log
@added int main
added return 0
@
text
@d2 1
a2 1
static char rcsid []="$Id: test232.C,v 1.1 1992/11/18 21:14:16 reti Exp monica $";
d5 5
a9 1
//  $Log: test232.C,v $
d31 14
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
static char rcsid []="$Id$";
d5 4
a8 1
//  $Log:	test232.c,v $
a9 2
#include <stream.h>
#include "ValueSet.h"
d12 1
a12 1
main()
d14 1
a14 1
IA::exit_on_throw=0;
d16 1
a16 1
ValueSet<int> s1,s2,s3;
a26 1
}
d28 1
d30 1
a30 6






@
