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


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

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

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


desc
@tests constructors and choice function
@


1.3
log
@*** empty log message ***
@
text
@// $Log$

#include "test.h"

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

    float *arr;

    arr = new float[3];

    arr[0] = 1.1;
    arr[1] = 2.2;
    arr[2] = 3.3;

    IA_Set<float> undefn, empt(), one(1.1), two(1.1, 2.2);

    IA_Set<float> from_array(arr, 3);
    IA_Set<float> ditto(from_array);

    infof("from_array", from_array);

    infof("ONE", one);

    infof("should not be smaller ONE by literal", one / float(666.666));

    infof("smaller ONE by choice", one / one.choice());

    infof("smaller ONE by literal", one / float(1.1));

    return 0;

}

   
  
@


1.2
log
@added float cast
@
text
@d1 2
@


1.1
log
@Initial revision
@
text
@d23 1
a23 1
    infof("should not be smaller ONE by literal", one / 666.666);
d27 1
a27 1
    infof("smaller ONE by literal", one / 1.1);
@
