#ifndef SINGLE
//  An adapted ObjectSpace example for use with SGI STL

#include <iostream.h>
#include <algo.h>

#ifdef MAIN
#define alg1_test main
#endif
#endif
int alg1_test(int, char**)
{
  cout<<"Results of alg1_test:"<<endl;
#ifndef ACORN_CFRONT
  int i = STL_NAMESPACE::min(4, 7);
#else
  int i = min(4, 7);
#endif

  cout << "min(4, 7) = " << i << endl;

#ifndef ACORN_CFRONT
  char c = STL_NAMESPACE::max('a', 'z');
#else
  char c = max('a', 'z');
#endif

  cout << "max('a', 'z') = " << c << endl;
  return 0;
}
