stdex
Additional custom or not Standard C++ covered algorithms
Loading...
Searching...
No Matches
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/parser.hpp>
20#include <stdex/pool.hpp>
21#include <stdex/progress.hpp>
22#include <stdex/ring.hpp>
23#include <stdex/scoped_executor.hpp>
24#include <stdex/sgml.hpp>
25#include <stdex/socket.hpp>
26#include <stdex/spinlock.hpp>
27#include <stdex/stream.hpp>
28#include <stdex/string.hpp>
29#include <stdex/sys_info.hpp>
30#include <stdex/system.hpp>
31#include <stdex/unicode.hpp>
32#include <stdex/vector_queue.hpp>
33#include <stdex/watchdog.hpp>
34#include <stdex/wav.hpp>
35#include <stdex/zlib.hpp>
36
37#include "compat.hpp"
38
39#include <cstdlib>
40#include <filesystem>
41#include <list>
42#include <thread>
43
44namespace UnitTests
45{
46 TEST_CLASS(hash)
47 {
48 public:
49 TEST_METHOD(crc32);
50 TEST_METHOD(md5);
51 TEST_METHOD(sha1);
52 };
53
54 TEST_CLASS(math)
55 {
56 public:
57 TEST_METHOD(mul);
58 TEST_METHOD(add);
59 };
60
61 TEST_CLASS(parser)
62 {
63 public:
64 TEST_METHOD(wtest);
65 TEST_METHOD(sgml_test);
66 TEST_METHOD(http_test);
67 };
68
69 TEST_CLASS(pool)
70 {
71 public:
72 TEST_METHOD(test);
73 };
74
75 TEST_CLASS(ring)
76 {
77 public:
78 TEST_METHOD(test);
79 };
80
81 TEST_CLASS(sgml)
82 {
83 public:
84 TEST_METHOD(sgml2str);
85 TEST_METHOD(str2sgml);
86 };
87
88 TEST_CLASS(stream)
89 {
90 public:
91 TEST_METHOD(async);
92 TEST_METHOD(replicator);
93 TEST_METHOD(open_close);
94 TEST_METHOD(file_stat);
95 };
96
97 TEST_CLASS(string)
98 {
99 public:
100 TEST_METHOD(sprintf);
101 };
102
103 TEST_CLASS(unicode)
104 {
105 public:
106 TEST_METHOD(str2wstr);
107 TEST_METHOD(wstr2str);
108 TEST_METHOD(charset_encoder);
109 TEST_METHOD(normalize);
110 };
111
112 TEST_CLASS(watchdog)
113 {
114 public:
115 TEST_METHOD(test);
116 };
117
118 TEST_CLASS(zlib)
119 {
120 public:
121 TEST_METHOD(test);
122 };
123}