stdex
Additional custom or not Standard C++ covered algorithms
Loading...
Searching...
No Matches
UnitTests
pch.hpp
1
/*
2
SPDX-License-Identifier: MIT
3
Copyright © 2023-2024 Amebis
4
*/
5
6
#pragma once
7
8
#include <stdex/base64.hpp>
9
#include <stdex/compat.hpp>
10
#include <stdex/exception.hpp>
11
#include <stdex/hash.hpp>
12
#include <stdex/hex.hpp>
13
#include <stdex/html.hpp>
14
#include <stdex/idrec.hpp>
15
#include <stdex/interval.hpp>
16
#include <stdex/locale.hpp>
17
#include <stdex/mapping.hpp>
18
#include <stdex/math.hpp>
19
#include <stdex/memory.hpp>
20
#include <stdex/minisign.hpp>
21
#include <stdex/parser.hpp>
22
#include <stdex/pool.hpp>
23
#include <stdex/progress.hpp>
24
#include <stdex/ring.hpp>
25
#include <stdex/scoped_executor.hpp>
26
#include <stdex/sgml.hpp>
27
#include <stdex/socket.hpp>
28
#include <stdex/spinlock.hpp>
29
#include <stdex/stream.hpp>
30
#include <stdex/string.hpp>
31
#include <stdex/sys_info.hpp>
32
#include <stdex/system.hpp>
33
#include <stdex/unicode.hpp>
34
#include <stdex/vector_queue.hpp>
35
#include <stdex/watchdog.hpp>
36
#include <stdex/wav.hpp>
37
#include <stdex/zlib.hpp>
38
39
#include "compat.hpp"
40
41
#include <cstdlib>
42
#include <filesystem>
43
#include <list>
44
#include <thread>
45
46
namespace
UnitTests
47
{
48
TEST_CLASS(hash)
49
{
50
public
:
51
TEST_METHOD(crc32);
52
TEST_METHOD(md5);
53
TEST_METHOD(sha1);
54
};
55
56
TEST_CLASS(math)
57
{
58
public
:
59
TEST_METHOD(mul);
60
TEST_METHOD(add);
61
};
62
63
TEST_CLASS(parser)
64
{
65
public
:
66
TEST_METHOD(wtest);
67
TEST_METHOD(sgml_test);
68
TEST_METHOD(http_test);
69
};
70
71
TEST_CLASS(pool)
72
{
73
public
:
74
TEST_METHOD(test);
75
};
76
77
TEST_CLASS(ring)
78
{
79
public
:
80
TEST_METHOD(test);
81
};
82
83
TEST_CLASS(sgml)
84
{
85
public
:
86
TEST_METHOD(sgml2str);
87
TEST_METHOD(str2sgml);
88
};
89
90
TEST_CLASS(stream)
91
{
92
public
:
93
TEST_METHOD(async);
94
TEST_METHOD(replicator);
95
TEST_METHOD(open_close);
96
TEST_METHOD(file_stat);
97
};
98
99
TEST_CLASS(
string
)
100
{
101
public
:
102
TEST_METHOD(sprintf);
103
};
104
105
TEST_CLASS(unicode)
106
{
107
public
:
108
TEST_METHOD(str2wstr);
109
TEST_METHOD(wstr2str);
110
TEST_METHOD(charset_encoder);
111
TEST_METHOD(normalize);
112
};
113
114
TEST_CLASS(watchdog)
115
{
116
public
:
117
TEST_METHOD(test);
118
};
119
120
TEST_CLASS(zlib)
121
{
122
public
:
123
TEST_METHOD(test);
124
};
125
}
Generated on Tue Apr 23 2024 09:13:13 for stdex by
1.10.0