示例#1
0
int main()
{
	// intro();
	Keyboard *keyboard = new Keyboard();
	// int selection = menu( keyboard );
	test_keyboard( keyboard );
	/*
	while(1)
	{
		switch( selection ) {
		case 0:
			// new_game();
			break;
		case 1:
			// load_game();
			break;
		case 3:
			// settings();
			break;
		case 4:
			exit(EXIT_SUCCESS);
		default:
			exit(EXIT_FAILURE);
		}
	}*/

}
示例#2
0
static void do_test()
{
    test_bitmap();
    test_dmfont();
    test_realtime();
    test_mm();
    test_bezier();
    test_ttf();
    test_float();

    test_keyboard();
}
int main(int argc, const char *argv[]) {
  program_name = argv[0];

  (void) argc;

  test_card();
  test_cursor();
  test_deck();
  test_gui();
  test_frame();
  test_game();
  test_keyboard();
  test_stack();
  test_test_helper();

  return(0);
}