mirror of
https://gitee.com/yanmu_ym/cpp.git
synced 2026-02-04 01:53:15 +08:00
19 lines
272 B
C++
19 lines
272 B
C++
#include "test.h"
|
|
#include <time.h>
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
//生成棋盘,10s
|
|
void test_case1()
|
|
{
|
|
CScene scene;
|
|
|
|
time_t begin, end;
|
|
time(&begin);
|
|
scene.generate();
|
|
time(&end);
|
|
|
|
scene.show();
|
|
cout << end - begin << endl;
|
|
} |