-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.h
63 lines (47 loc) · 944 Bytes
/
test.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
* Author: LiZhaojia
*
* Last modified: 2014-09-29 22:05 +0800
*
* Description: 测试工具头文件
*/
#ifndef WATER_BASE_TEST_HPP
#define WATER_BASE_TEST_HPP
#include <execinfo.h>
#include <stdio.h>
#include <stdlib.h>
#include <sstream>
#include <string>
#include <memory>
#include <functional>
#include <exception>
#include <stdexcept>
#include <algorithm>
#include <iostream>
#include <iomanip>
#include "ostream_stdcontainer.h"
using std::cout;
using std::cerr;
using std::cin;
using std::endl;
using std::string;
using std::vector;
using std::map;
using std::multimap;
using std::unordered_map;
using std::unordered_multimap;
using std::set;
using std::multiset;
using std::unordered_set;
using std::unordered_multiset;
using std::tuple;
using namespace std::placeholders;
#endif
#ifdef FOR_EXAMINATION
static int x = []()
{
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
return 0;
}();
#endif