mirror of
https://gitee.com/yanmu_ym/cpp.git
synced 2026-02-09 20:34:56 +08:00
MAKE
This commit is contained in:
19
Make/sudoku/test.cpp
Normal file
19
Make/sudoku/test.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user