head     1.2;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @// @;


1.2
date     92.06.03.16.15.00;  author fischer;  state Exp;
branches ;
next     1.1;

1.1
date     92.05.21.07.44.08;  author fischer;  state Exp;
branches ;
next     ;


desc
@trimming down test1.cc bug.
@


1.2
log
@*** empty log message ***
@
text
@#include        <iostream.h>
#include        <Coord.h>

int main(int argc, char**argv)
{
 Coord      c0, c1(1),c2(2.3);
 NumericType  t0;

 cout << "c0 type: ";
 switch (c0.type()) {
 case Integer:
     cout << "Integer\n";
     break;
 case Float:
     cout << "Float\n";
     break;
 default:
     cout << "Unknown\n";
 }

 cout << "c1 type: ";
 switch (c1.type()) {
 case Integer:
     cout << "Integer\n";
     break;
 case Float:
     cout << "Float\n";
     break;
 default:
     cout << "Unknown\n";
 }

 cout << "c2 type: ";
 switch (c2.type()) {
 case Integer:
     cout << "Integer\n";
     break;
 case Float:
     cout << "Float\n";
     break;
 default:
     cout << "Unknown\n";
 }

 // c0.output(cout);
}
@


1.1
log
@Initial revision
@
text
@@
