コード例 #1
0
ファイル: init.c プロジェクト: AlexShiLucky/rtems
rtems_task Init(
  rtems_task_argument ignored
)
{
  TEST_BEGIN();
  test_rtems_string_to_pointer();
  test_rtems_string_to_unsigned_char();
  test_rtems_string_to_int();
  test_rtems_string_to_unsigned_int();
  test_rtems_string_to_long();
  test_rtems_string_to_unsigned_long();
  test_rtems_string_to_long_long();
  test_rtems_string_to_unsigned_long_long();

  test_rtems_string_to_float();
  test_rtems_string_to_double();
  TEST_END();
  rtems_test_exit(0);
}
コード例 #2
0
ファイル: init.c プロジェクト: aniwang2013/leon-rtems
rtems_task Init(
  rtems_task_argument ignored
)
{
  puts( "\n\n*** STRING TO CONVERSION TEST ***" );
  test_rtems_string_to_pointer();
  test_rtems_string_to_unsigned_char();
  test_rtems_string_to_int();
  test_rtems_string_to_unsigned_int();
  test_rtems_string_to_long();
  test_rtems_string_to_unsigned_long();
  test_rtems_string_to_long_long();
  test_rtems_string_to_unsigned_long_long();

  test_rtems_string_to_float();
  test_rtems_string_to_double();
  puts( "*** END OF STRING TO CONVERSION TEST ***" );
  rtems_test_exit(0);
}