示例#1
0
int main ( )

/******************************************************************************/
/*
  Purpose:

    MAIN is the main program for R4LIB_PRB.

  Discussion:

    R4LIB_PRB tests the R4LIB library.

  Licensing:

    This code is distributed under the GNU LGPL license. 

  Modified:

    28 September 2014

  Author:

    John Burkardt
*/
{
  timestamp ( );
  printf ( "\n" );
  printf ( "R4LIB_PRB\n" );
  printf ( "  C version\n" );
  printf ( "  Test the R4LIB library.\n" );

  test001 ( );
  test002 ( );
  test003 ( );
  test004 ( );
  test005 ( );
  test006 ( );
  test007 ( );
  test009 ( );

  test010 ( );

  test023 ( );
  test0235 ( );
  test026 ( );
  test027 ( );
  test028 ( );

  test12555 ( );
/*
  Terminate.
*/
  printf ( "\n" );
  printf ( "R4LIB_PRB\n" );
  printf ( "  Normal end of execution.\n" );
  printf ( "\n" );
  timestamp ( );

  return 0;
}
int main ( )

/******************************************************************************/
/*
  Purpose:

    GEOMPACK_PRB tests routines from the GEOMPACK library.

  Licensing:

    This code is distributed under the GNU LGPL license.

  Modified:

    23 October 2012

  Author:

    John Burkardt
*/
{
  timestamp ( );

  printf ( "\n" );
  printf ( "GEOMPACK_PRB\n" );
  printf ( "  C version\n" );
  printf ( "  Test the GEOMPACK library.\n" );

  test005 ( );
  test01 ( );
  test02 ( );
  test03 ( );
  test05 ( );
  test06 ( );
  test07 ( );
  test08 ( );
/*
  Terminate.
*/
  printf ( "\n" );
  printf ( "GEOMPACK_PRB\n" );
  printf ( "  Normal end of execution.\n" );

  printf ( "\n" );
  timestamp ( );

  return 0;
}