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


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

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


desc
@initial revision
@


1.2
log
@changed to iostream.h from stream.h
@
text
@
#include <iostream.h>
#include "Set.h"
#include "test.h"

int main () {
float f=2.1;
IA_Set<float> vs3(1.0,2.0,3.0);

p13f(vs3,">",>,(float)1);
p13f(vs3,">",>,(float)2);
p13f(vs3,">",>,(float)3);
p13f(vs3,">",>,(float)4);
p13f(vs3,">",>,IA_Set<float>(2.0,3.0));
#define q(a) p13f(vs3,">",>,v##f##a)

q(1);
q(2);
q(3);
q(12);
q(123);
q(u);

#define c(a,b) p12f(a,b)  // a little testing of the assignment op "="
IA_Set<float> vs;
vs = vs;
c(vs,vfu);
vs = vs3;
c(vs,vs3);
vs = IA_Set<float>(1.0,2.0,3.0,4.0,5.0);
c(vs,vf5);


IA_Set<float> vs5(1.0,2.0,3.0,4.0,5.0);
p13f(vs5,">",>,(float)1.0);
p13f(vs5,">",>,(float)2.0);
p13f(vs5,">",>,(float)3.0);
p13f(vs5,">",>,(float)4.0);
p13f(vs5,">",>,(float)5.0);
p13f(vs5,">",>,(float)6.0);

#define q(a) p13f(v##f##a,">",>,f)

q(1); 
q(2);
q(3);
q(12);
q(13);
q(23);
q(123);
q(5);
q(u);

vfu= IA_Set<float> (fil,7);
vf6= IA_Set<float> (fil,8);
q(6);
q(u);

vfu= IA_Set<float> (fil,0);
q(6);
q(u);
  

    return 0;

 
}
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
#include <stream.h>
@
