File tree Expand file tree Collapse file tree 2 files changed +109
-0
lines changed Expand file tree Collapse file tree 2 files changed +109
-0
lines changed Original file line number Diff line number Diff line change
1
+ if (YDB_SDK_TESTS )
2
+ add_subdirectory (ut )
3
+ endif ()
4
+
1
5
_ydb_sdk_add_library (int128 )
2
6
3
7
target_sources (int128
Original file line number Diff line number Diff line change
1
+ #[=[ TODO: fix bug with std::signbit
2
+ add_ydb_test(NAME int128-int128_ut
3
+ SOURCES
4
+ int128_ut.cpp
5
+ LINK_LIBRARIES
6
+ int128
7
+ cpp-testing-unittest_main
8
+ LABELS
9
+ unit
10
+ )
11
+ #]=]
12
+
13
+ add_ydb_test (NAME int128-int128_typetraits_ut
14
+ SOURCES
15
+ int128_typetraits_ut.cpp
16
+ LINK_LIBRARIES
17
+ int128
18
+ cpp-testing-unittest_main
19
+ LABELS
20
+ unit
21
+ )
22
+
23
+ add_ydb_test (NAME int128-i128_ut
24
+ SOURCES
25
+ i128_ut.cpp
26
+ LINK_LIBRARIES
27
+ int128
28
+ cpp-testing-unittest_main
29
+ LABELS
30
+ unit
31
+ )
32
+
33
+ add_ydb_test (NAME int128-i128_and_intrinsic_identity_ut
34
+ SOURCES
35
+ i128_and_intrinsic_identity_ut.cpp
36
+ int128_ut_helpers.cpp
37
+ LINK_LIBRARIES
38
+ int128
39
+ cpp-testing-unittest_main
40
+ LABELS
41
+ unit
42
+ )
43
+
44
+ add_ydb_test (NAME int128-int128_via_intrinsic_ut
45
+ SOURCES
46
+ int128_via_intrinsic_ut.cpp
47
+ LINK_LIBRARIES
48
+ int128
49
+ cpp-testing-unittest_main
50
+ LABELS
51
+ unit
52
+ )
53
+
54
+ add_ydb_test (NAME int128-int128_old_ut
55
+ SOURCES
56
+ int128_old_ut.cpp
57
+ int128_ut_helpers.cpp
58
+ LINK_LIBRARIES
59
+ int128
60
+ cpp-testing-unittest_main
61
+ LABELS
62
+ unit
63
+ )
64
+
65
+ add_ydb_test (NAME int128-i128_division_ut
66
+ SOURCES
67
+ i128_division_ut.cpp
68
+ LINK_LIBRARIES
69
+ int128
70
+ cpp-testing-unittest_main
71
+ LABELS
72
+ unit
73
+ )
74
+
75
+ #[=[ TODO: fix bug with std::signbit
76
+ add_ydb_test(NAME int128-i128_type_traits_ut
77
+ SOURCES
78
+ i128_type_traits_ut.cpp
79
+ LINK_LIBRARIES
80
+ int128
81
+ cpp-testing-unittest_main
82
+ LABELS
83
+ unit
84
+ )
85
+ #]=]
86
+
87
+ add_ydb_test (NAME int128-i128_comparison_ut
88
+ SOURCES
89
+ i128_comparison_ut.cpp
90
+ LINK_LIBRARIES
91
+ int128
92
+ cpp-testing-unittest_main
93
+ LABELS
94
+ unit
95
+ )
96
+
97
+ add_ydb_test (NAME int128-ui128_division_ut
98
+ SOURCES
99
+ ui128_division_ut.cpp
100
+ LINK_LIBRARIES
101
+ int128
102
+ cpp-testing-unittest_main
103
+ LABELS
104
+ unit
105
+ )
You can’t perform that action at this time.
0 commit comments