示例#1
0
文件: tcctest.c 项目: ahqmhjk/MyTcc
int main(int argc, char **argv)
{
    string_test();
		printf("1111111111111\n");
    expr_test();
		printf("1111111111111\n");
    macro_test();
    scope_test();
    forward_test();
    funcptr_test();
    loop_test();
    switch_test();
    goto_test();
    enum_test();
    typedef_test();
    struct_test();
    array_test();
    expr_ptr_test();
    bool_test();
    expr2_test();
    constant_expr_test();
    expr_cmp_test();
    char_short_test();
    init_test();
    compound_literal_test();
    kr_test();
    struct_assign_test();
    cast_test();
    bitfield_test();
    c99_bool_test();
    float_test();
    longlong_test();
    manyarg_test();
    stdarg_test();
    whitespace_test();
    relocation_test();
    old_style_function();
    alloca_test();
    sizeof_test();
    typeof_test();
    statement_expr_test();
    local_label_test();
    asm_test();
    builtin_test();
    return 0; 
}
int main ( void )

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

    BLACK_SCHOLES_PRB tests BLACK_SCHOLES.

  Licensing:

    This code is distributed under the GNU LGPL license.

  Modified:

    18 February 2012

  Author:

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

  asset_path_test ( );
  binomial_test ( );
  bsf_test ( );
  forward_test ( );
  mc_test ( );
/*
  Terminate.
*/
  printf ( "\n" );
  printf ( "BLACK_SCHOLES_PRB\n" );
  printf ( "  Normal end of execution.\n" );

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

  return 0;
}