xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
assume.h
Go to the documentation of this file.
1
4#pragma once
5#include "assert.h"
6
8namespace xtd {
10 namespace tunit {
20 class assume final : private base_assert {
21 public:
23 assume() = delete;
25
35 template<typename expected_t, typename actual_t>
36 static void are_equal(const expected_t& expected, const actual_t& actual) {are_equal(expected, actual, "", xtd::diagnostics::stack_frame::empty());}
37
48 template<typename expected_t, typename actual_t>
49 static void are_equal(const expected_t& expected, const actual_t& actual, const xtd::diagnostics::stack_frame& stack_frame) {are_equal(expected, actual, "", stack_frame);}
50
61 template<typename expected_t, typename actual_t>
62 static void are_equal(const expected_t& expected, const actual_t& actual, const xtd::ustring& message) {are_equal(expected, actual, message, xtd::diagnostics::stack_frame::empty());}
63
75 template<typename expected_t, typename actual_t>
76 static void are_equal(const expected_t& expected, const actual_t& actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
77 try {
78 assert::are_equal(expected, actual, message, stack_frame);
79 } catch (...) {
81 }
82 }
83
85 static void are_equal(const char* expected, const char* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
86 try{
87 assert::are_equal(expected, actual, message, stack_frame);
88 } catch (...) {
90 }
91 }
92
93 static void are_equal(const char8_t* expected, const char8_t* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
94 try{
95 assert::are_equal(expected, actual, message, stack_frame);
96 } catch (...) {
98 }
99 }
100
101 static void are_equal(const char16_t* expected, const char16_t* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
102 try {
103 assert::are_equal(expected, actual, message, stack_frame);
104 } catch (...) {
106 }
107 }
108
109 static void are_equal(const char32_t* expected, const char32_t* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
110 try {
111 assert::are_equal(expected, actual, message, stack_frame);
112 } catch (...) {
114 }
115 }
116
117 static void are_equal(const wchar_t* expected, const wchar_t* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
118 try {
119 assert::are_equal(expected, actual, message, stack_frame);
120 } catch (...) {
122 }
123 }
124
125 static void are_equal(float expected, float actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
126 try {
127 assert::are_equal(expected, actual, message, stack_frame);
128 } catch (...) {
130 }
131 }
132
133 static void are_equal(double expected, double actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
134 try {
135 assert::are_equal(expected, actual, message, stack_frame);
136 } catch (...) {
138 }
139 }
140
141 static void are_equal(long double expected, long double actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
142 try {
143 assert::are_equal(expected, actual, message, stack_frame);
144 } catch (...) {
146 }
147 }
149
161 static void are_equal(float expected, float actual, float tolerance) {are_equal(expected, actual, tolerance, "", csf_);}
162
175 static void are_equal(float expected, float actual, float tolerance, const xtd::diagnostics::stack_frame& stack_frame) {are_equal(expected, actual, tolerance, "", stack_frame);}
176
189 static void are_equal(float expected, float& actual, float tolerance, const xtd::ustring& message) {are_equal(expected, actual, tolerance, message, xtd::diagnostics::stack_frame::empty());}
190
204 static void are_equal(float expected, float actual, float tolerance, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
205 try {
206 assert::are_equal(expected, actual, tolerance, message, stack_frame);
207 } catch (...) {
209 }
210 }
211
223 static void are_equal(double expected, double actual, double tolerance) {are_equal(expected, actual, tolerance, "", csf_);}
224
237 static void are_equal(double expected, double actual, double tolerance, const xtd::diagnostics::stack_frame& stack_frame) {are_equal(expected, actual, tolerance, "", stack_frame);}
238
251 static void are_equal(double expected, double actual, double tolerance, const xtd::ustring& message) {are_equal(expected, actual, tolerance, message, xtd::diagnostics::stack_frame::empty());}
252
266 static void are_equal(double expected, double actual, double tolerance, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
267 try {
268 assert::are_equal(expected, actual, tolerance, message, stack_frame);
269 } catch (...) {
271 }
272 }
273
285 static void are_equal(long double expected, long double actual, long double tolerance) {are_equal(expected, actual, tolerance, "", csf_);}
286
299 static void are_equal(long double expected, long double actual, long double tolerance, const xtd::diagnostics::stack_frame& stack_frame) {are_equal(expected, actual, tolerance, "", stack_frame);}
300
313 static void are_equal(long double expected, long double actual, long double tolerance, const xtd::ustring& message) {are_equal(expected, actual, tolerance, message, xtd::diagnostics::stack_frame::empty());}
314
328 static void are_equal(long double expected, long double actual, long double tolerance, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
329 try {
330 assert::are_equal(expected, actual, tolerance, message, stack_frame);
331 } catch (...) {
333 }
334 }
335
345 template<typename expected_t, typename actual_t>
346 static void are_not_equal(const expected_t& expected, const actual_t& actual) {are_not_equal(expected, actual, "", xtd::diagnostics::stack_frame::empty());}
347
358 template<typename expected_t, typename actual_t>
359 static void are_not_equal(const expected_t& expected, const actual_t& actual, const xtd::diagnostics::stack_frame& stack_frame) {are_not_equal(expected, actual, "", stack_frame);}
360
371 template<typename expected_t, typename actual_t>
372 static void are_not_equal(const expected_t& expected, const actual_t& actual, const xtd::ustring& message) {are_not_equal(expected, actual, message, xtd::diagnostics::stack_frame::empty());}
373
385 template<typename expected_t, typename actual_t>
386 static void are_not_equal(const expected_t& expected, const actual_t& actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
387 try {
388 assert::are_not_equal(expected, actual, message, stack_frame);
389 } catch (...) {
391 }
392 }
393
395 static void are_not_equal(const char* expected, const char* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
396 try {
397 assert::are_not_equal(expected, actual, message, stack_frame);
398 } catch (...) {
400 }
401 }
402
403 static void are_not_equal(const char8_t* expected, const char8_t* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
404 try {
405 assert::are_not_equal(expected, actual, message, stack_frame);
406 } catch (...) {
408 }
409 }
410
411 static void are_not_equal(const char16_t* expected, const char16_t* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
412 try {
413 assert::are_not_equal(expected, actual, message, stack_frame);
414 } catch (...) {
416 }
417 }
418
419 static void are_not_equal(const char32_t* expected, const char32_t* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
420 try {
421 assert::are_not_equal(expected, actual, message, stack_frame);
422 } catch (...) {
424 }
425 }
426
427 static void are_not_equal(const wchar_t* expected, const wchar_t* actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
428 try {
429 assert::are_not_equal(expected, actual, message, stack_frame);
430 } catch (...) {
432 }
433 }
435
448 template<typename expected_t, typename actual_t>
449 static void are_not_same(const expected_t& expected, const actual_t& actual) {are_not_same(expected, actual, "", xtd::diagnostics::stack_frame::empty());}
450
464 template<typename expected_t, typename actual_t>
465 static void are_not_same(const expected_t& expected, const actual_t& actual, const xtd::diagnostics::stack_frame& stack_frame) {are_not_same(expected, actual, "", stack_frame);}
466
480 template<typename expected_t, typename actual_t>
481 static void are_not_same(const expected_t& expected, const actual_t& actual, const xtd::ustring& message) {are_not_same(expected, actual, message, xtd::diagnostics::stack_frame::empty());}
482
497 template<typename expected_t, typename actual_t>
498 static void are_not_same(const expected_t& expected, const actual_t& actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
499 try {
500 assert::are_not_same(expected, actual, message, stack_frame);
501 } catch (...) {
503 }
504 }
505
518 template<typename expected_t, typename actual_t>
519 static void are_same(const expected_t& expected, const actual_t& actual) {are_same(expected, actual, "", xtd::diagnostics::stack_frame::empty());}
520
534 template<typename expected_t, typename actual_t>
535 static void are_same(const expected_t& expected, const actual_t& actual, const xtd::diagnostics::stack_frame& stack_frame) {are_same(expected, actual, "", stack_frame);}
536
550 template<typename expected_t, typename actual_t>
551 static void are_same(const expected_t& expected, const actual_t& actual, const xtd::ustring& message) {are_same(expected, actual, message, xtd::diagnostics::stack_frame::empty());}
552
567 template<typename expected_t, typename actual_t>
568 static void are_same(const expected_t& expected, const actual_t& actual, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
569 try {
570 assert::are_same(expected, actual, message, stack_frame);
571 } catch (...) {
573 }
574 }
575
586 template<typename item_t, typename collection_t>
587 static void contains(const item_t& item, const collection_t& collection) {contains(item, collection, "", xtd::diagnostics::stack_frame::empty());}
588
600 template<typename item_t, typename collection_t>
601 static void contains(const item_t& item, const collection_t& collection, const xtd::diagnostics::stack_frame& stack_frame) {contains(item, collection, "", stack_frame);}
602
614 template<typename item_t, typename collection_t>
615 static void contains(const item_t& item, const collection_t& collection, const xtd::ustring& message) {contains(item, collection, message, xtd::diagnostics::stack_frame::empty());}
616
629 template<typename item_t, typename collection_t>
630 static void contains(const item_t& item, const collection_t& collection, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
631 try {
632 assert::contains(item, collection, message, stack_frame);
633 } catch (...) {
635 }
636 }
637
639 template<typename item_t, typename value_t>
640 static void contains(const item_t& item, const std::initializer_list<value_t>& values) {contains(item, values, "", xtd::diagnostics::stack_frame::empty());}
641 template<typename item_t, typename value_t>
642 static void contains(const item_t& item, const std::initializer_list<value_t>& values, const xtd::diagnostics::stack_frame& stack_frame) {contains(item, values, "", stack_frame);}
643 template<typename item_t, typename value_t>
644 static void contains(const item_t& item, const std::initializer_list<value_t>& values, const xtd::ustring& message) {contains(item, values, message, xtd::diagnostics::stack_frame::empty());}
645 template<typename item_t, typename value_t>
646 static void contains(const item_t& item, const std::initializer_list<value_t>& values, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
647 try {
648 assert::contains(item, values, message, stack_frame);
649 } catch (...) {
651 }
652 }
653
654 static void contains(char item, const char* values, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
655 try {
656 assert::contains(item, values, message, stack_frame);
657 } catch (...) {
659 }
660 }
661
662 static void contains(char8_t item, const char8_t* values, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
663 try {
664 assert::contains(item, values, message, stack_frame);
665 } catch (...) {
667 }
668 }
669
670 static void contains(char16_t item, const char16_t* values, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
671 try {
672 assert::contains(item, values, message, stack_frame);
673 } catch (...) {
675 }
676 }
677
678 static void contains(char32_t item, const char32_t* values, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
679 try {
680 assert::contains(item, values, message, stack_frame);
681 } catch (...) {
683 }
684 }
685
686 static void contains(wchar_t item, const wchar_t* values, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
687 try {
688 assert::contains(item, values, message, stack_frame);
689 } catch (...) {
691 }
692 }
694
704 static void does_not_throw(const std::function<void()>& statement) {does_not_throw(statement, "", xtd::diagnostics::stack_frame::empty());}
705
716 static void does_not_throw(const std::function<void()>& statement, const xtd::diagnostics::stack_frame& stack_frame) {does_not_throw(statement, "", stack_frame);}
717
728 static void does_not_throw(const std::function<void()>& statement, const xtd::ustring& message) {does_not_throw(statement, message, xtd::diagnostics::stack_frame::empty());}
729
741 static void does_not_throw(const std::function<void()>& statement, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
742 try {
743 assert::does_not_throw(statement, message, stack_frame);
744 } catch (...) {
746 }
747 }
748
759 template<typename value_t>
760 static void is_empty(const value_t& value) {is_empty(value, "", xtd::diagnostics::stack_frame::empty());}
761
773 template<typename value_t>
774 static void is_empty(const value_t& value, const xtd::diagnostics::stack_frame& stack_frame) {is_empty(value, "", stack_frame);}
775
787 template<typename value_t>
788 static void is_empty(const value_t& value, const xtd::ustring& message) {is_empty(value, message, xtd::diagnostics::stack_frame::empty());}
789
802 template<typename value_t>
803 static void is_empty(const value_t& value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
804 try {
805 assert::is_empty(value, message, stack_frame);
806 } catch (...) {
808 }
809 }
810
812 template<typename value_t>
813 static void is_empty(const std::initializer_list<value_t>& value) {is_empty(value, "", xtd::diagnostics::stack_frame::empty());}
814 template<typename value_t>
815 static void is_empty(const std::initializer_list<value_t>& value, const xtd::diagnostics::stack_frame& stack_frame) {is_empty(value, "", stack_frame);}
816 template<typename value_t>
817 static void is_empty(const std::initializer_list<value_t>& value, const xtd::ustring& message) {is_empty(value, message, xtd::diagnostics::stack_frame::empty());}
818 template<typename value_t>
819 static void is_empty(const std::initializer_list<value_t>& values, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
820 try {
821 assert::is_empty(values, message, stack_frame);
822 } catch (...) {
824 }
825 }
826
827 static void is_empty(const char* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
828 try {
829 assert::is_empty(value, message, stack_frame);
830 } catch (...) {
832 }
833 }
834
835 static void is_empty(const char8_t* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
836 try {
837 assert::is_empty(value, message, stack_frame);
838 } catch (...) {
840 }
841 }
842
843 static void is_empty(const char16_t* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
844 try {
845 assert::is_empty(value, message, stack_frame);
846 } catch (...) {
848 }
849 }
850
851 static void is_empty(const char32_t* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
852 try {
853 assert::is_empty(value, message, stack_frame);
854 } catch (...) {
856 }
857 }
858
859 static void is_empty(const wchar_t* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
860 try {
861 assert::is_empty(value, message, stack_frame);
862 } catch (...) {
864 }
865 }
867
878 static void is_false(bool condition) {is_false(condition, "", xtd::diagnostics::stack_frame::empty());}
879
891 static void is_false(bool condition, const xtd::diagnostics::stack_frame& stack_frame) {is_false(condition, "", stack_frame);}
892
904 static void is_false(bool condition, const xtd::ustring& message) {is_false(condition, message, xtd::diagnostics::stack_frame::empty());}
905
918 static void is_false(bool condition, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
919 try {
920 assert::is_false(condition, message, stack_frame);
921 } catch (...) {
923 }
924 }
925
935 template<typename value1_t, typename value2_t>
936 static void is_greater(const value1_t& val1, const value2_t& val2) {is_greater(val1, val2, "", xtd::diagnostics::stack_frame::empty());}
937
948 template<typename value1_t, typename value2_t>
949 static void is_greater(const value1_t& val1, const value2_t& val2, const xtd::diagnostics::stack_frame& stack_frame) {is_greater(val1, val2, "", stack_frame);}
950
961 template<typename value1_t, typename value2_t>
962 static void is_greater(const value1_t& val1, const value2_t& val2, const xtd::ustring& message) {is_greater(val1, val2, message, xtd::diagnostics::stack_frame::empty());}
963
975 template<typename value1_t, typename value2_t>
976 static void is_greater(const value1_t& val1, const value2_t& val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
977 try {
978 assert::is_greater(val1, val2, message, stack_frame);
979 } catch (...) {
981 }
982 }
983
985 static void is_greater(const char* val1, const char* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
986 try {
987 assert::is_greater(val1, val2, message, stack_frame);
988 } catch (...) {
990 }
991 }
992
993 static void is_greater(const char8_t* val1, const char8_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
994 try {
995 assert::is_greater(val1, val2, message, stack_frame);
996 } catch (...) {
998 }
999 }
1000
1001 static void is_greater(const char16_t* val1, const char16_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1002 try {
1003 assert::is_greater(val1, val2, message, stack_frame);
1004 } catch (...) {
1005 assert::abort();
1006 }
1007 }
1008
1009 static void is_greater(const char32_t* val1, const char32_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1010 try {
1011 assert::is_greater(val1, val2, message, stack_frame);
1012 } catch (...) {
1013 assert::abort();
1014 }
1015 }
1016
1017 static void is_greater(const wchar_t* val1, const wchar_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1018 try {
1019 assert::is_greater(val1, val2, message, stack_frame);
1020 } catch (...) {
1021 assert::abort();
1022 }
1023 }
1025
1036 template<typename value1_t, typename value2_t>
1037 static void is_greater_or_equal(const value1_t& val1, const value2_t& val2) {is_greater_or_equal(val1, val2, "", xtd::diagnostics::stack_frame::empty());}
1038
1050 template<typename value1_t, typename value2_t>
1051 static void is_greater_or_equal(const value1_t& val1, const value2_t& val2, const xtd::diagnostics::stack_frame& stack_frame) {is_greater_or_equal(val1, val2, "", stack_frame);}
1052
1064 template<typename value1_t, typename value2_t>
1065 static void is_greater_or_equal(const value1_t& val1, const value2_t& val2, const xtd::ustring& message) {is_greater_or_equal(val1, val2, message, xtd::diagnostics::stack_frame::empty());}
1066
1079 template<typename value1_t, typename value2_t>
1080 static void is_greater_or_equal(const value1_t& val1, const value2_t& val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1081 try {
1082 assert::is_greater_or_equal(val1, val2, message, stack_frame);
1083 } catch (...) {
1084 assert::abort();
1085 }
1086 }
1087
1089 static void is_greater_or_equal(const char* val1, const char* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1090 try {
1091 assert::is_greater_or_equal(val1, val2, message, stack_frame);
1092 } catch (...) {
1093 assert::abort();
1094 }
1095 }
1096
1097 static void is_greater_or_equal(const char8_t* val1, const char8_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1098 try {
1099 assert::is_greater_or_equal(val1, val2, message, stack_frame);
1100 } catch (...) {
1101 assert::abort();
1102 }
1103 }
1104
1105 static void is_greater_or_equal(const char16_t* val1, const char16_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1106 try {
1107 assert::is_greater_or_equal(val1, val2, message, stack_frame);
1108 } catch (...) {
1109 assert::abort();
1110 }
1111 }
1112
1113 static void is_greater_or_equal(const char32_t* val1, const char32_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1114 try {
1115 assert::is_greater_or_equal(val1, val2, message, stack_frame);
1116 } catch (...) {
1117 assert::abort();
1118 }
1119 }
1120
1121 static void is_greater_or_equal(const wchar_t* val1, const wchar_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1122 try {
1123 assert::is_greater_or_equal(val1, val2, message, stack_frame);
1124 } catch (...) {
1125 assert::abort();
1126 }
1127 }
1129
1139 template<typename type_t, typename value_t>
1140 static void is_instance_of(const value_t& value) {is_instance_of<type_t>(value, "", xtd::diagnostics::stack_frame::empty());}
1141
1152 template<typename type_t, typename value_t>
1153 static void is_instance_of(const value_t& value, const xtd::diagnostics::stack_frame& stack_frame) {is_instance_of<type_t>(value, "", stack_frame);}
1154
1165 template<typename type_t, typename value_t>
1166 static void is_instance_of(const value_t& value, const xtd::ustring& message) {is_instance_of<type_t>(value, message, xtd::diagnostics::stack_frame::empty());}
1167
1179 template<typename type_t, typename value_t>
1180 static void is_instance_of(const value_t& value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1181 try {
1182 assert::is_instance_of<type_t>(value, message, stack_frame);
1183 } catch (...) {
1184 assert::abort();
1185 }
1186 }
1187
1197 template<typename value1_t, typename value2_t>
1198 static void is_less(const value1_t& val1, const value2_t& val2) {is_less(val1, val2, "", xtd::diagnostics::stack_frame::empty());}
1199
1210 template<typename value1_t, typename value2_t>
1211 static void is_less(const value1_t& val1, const value2_t& val2, const xtd::diagnostics::stack_frame& stack_frame) {is_less(val1, val2, "", stack_frame);}
1212
1223 template<typename value1_t, typename value2_t>
1224 static void is_less(const value1_t& val1, const value2_t& val2, const xtd::ustring& message) {is_less(val1, val2, message, xtd::diagnostics::stack_frame::empty());}
1225
1237 template<typename value1_t, typename value2_t>
1238 static void is_less(const value1_t& val1, const value2_t& val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1239 try {
1240 assert::is_less(val1, val2, message, stack_frame);
1241 } catch (...) {
1242 assert::abort();
1243 }
1244 }
1245
1247 static void is_less(const char* val1, const char* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1248 try {
1249 assert::is_less(val1, val2, message, stack_frame);
1250 } catch (...) {
1251 assert::abort();
1252 }
1253 }
1254
1255 static void is_less(const char8_t* val1, const char8_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1256 try {
1257 assert::is_less(val1, val2, message, stack_frame);
1258 } catch (...) {
1259 assert::abort();
1260 }
1261 }
1262
1263 static void is_less(const char16_t* val1, const char16_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1264 try {
1265 assert::is_less(val1, val2, message, stack_frame);
1266 } catch (...) {
1267 assert::abort();
1268 }
1269 }
1270
1271 static void is_less(const char32_t* val1, const char32_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1272 try {
1273 assert::is_less(val1, val2, message, stack_frame);
1274 } catch (...) {
1275 assert::abort();
1276 }
1277 }
1278
1279 static void is_less(const wchar_t* val1, const wchar_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1280 try {
1281 assert::is_less(val1, val2, message, stack_frame);
1282 } catch (...) {
1283 assert::abort();
1284 }
1285 }
1287
1298 template<typename value1_t, typename value2_t>
1299 static void is_less_or_equal(const value1_t& val1, const value2_t& val2) {is_less_or_equal(val1, val2, "", xtd::diagnostics::stack_frame::empty());}
1300
1312 template<typename value1_t, typename value2_t>
1313 static void is_less_or_equal(const value1_t& val1, const value2_t& val2, const xtd::diagnostics::stack_frame& stack_frame) {is_less_or_equal(val1, val2, "", stack_frame);}
1314
1326 template<typename value1_t, typename value2_t>
1327 static void is_less_or_equal(const value1_t& val1, const value2_t& val2, const xtd::ustring& message) {is_less_or_equal(val1, val2, message, xtd::diagnostics::stack_frame::empty());}
1328
1341 template<typename value1_t, typename value2_t>
1342 static void is_less_or_equal(const value1_t& val1, const value2_t& val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1343 try {
1344 assert::is_less_or_equal(val1, val2, message, stack_frame);
1345 } catch (...) {
1346 assert::abort();
1347 }
1348 }
1349
1351 static void is_less_or_equal(const char* val1, const char* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1352 try {
1353 assert::is_less_or_equal(val1, val2, message, stack_frame);
1354 } catch (...) {
1355 assert::abort();
1356 }
1357 }
1358
1359 static void is_less_or_equal(const char8_t* val1, const char8_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1360 try {
1361 assert::is_less_or_equal(val1, val2, message, stack_frame);
1362 } catch (...) {
1363 assert::abort();
1364 }
1365 }
1366
1367 static void is_less_or_equal(const char16_t* val1, const char16_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1368 try {
1369 assert::is_less_or_equal(val1, val2, message, stack_frame);
1370 } catch (...) {
1371 assert::abort();
1372 }
1373 }
1374
1375 static void is_less_or_equal(const char32_t* val1, const char32_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1376 try {
1377 assert::is_less_or_equal(val1, val2, message, stack_frame);
1378 } catch (...) {
1379 assert::abort();
1380 }
1381 }
1382
1383 static void is_less_or_equal(const wchar_t* val1, const wchar_t* val2, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1384 try {
1385 assert::is_less_or_equal(val1, val2, message, stack_frame);
1386 } catch (...) {
1387 assert::abort();
1388 }
1389 }
1391
1402 static void is_NaN(double value) {is_NaN(value, "", xtd::diagnostics::stack_frame::empty());}
1403
1415 static void is_NaN(double value, const xtd::diagnostics::stack_frame& stack_frame) {is_NaN(value, "", stack_frame);}
1416
1428 static void is_NaN(double value, const xtd::ustring& message) {is_NaN(value, message, xtd::diagnostics::stack_frame::empty());}
1429
1442 static void is_NaN(double value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1443 try {
1444 assert::is_NaN(value, message, stack_frame);
1445 } catch (...) {
1446 assert::abort();
1447 }
1448 }
1449
1460 static void is_NaN(long double value) {is_NaN(value, "", xtd::diagnostics::stack_frame::empty());}
1461
1473 static void is_NaN(long double value, const xtd::diagnostics::stack_frame& stack_frame) {is_NaN(value, "", stack_frame);}
1474
1486 static void is_NaN(long double value, const xtd::ustring& message) {is_NaN(value, message, xtd::diagnostics::stack_frame::empty());}
1487
1500 static void is_NaN(long double value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1501 try {
1502 assert::is_NaN(value, message, stack_frame);
1503 } catch (...) {
1504 assert::abort();
1505 }
1506 }
1507
1518 static void is_NaN(float value) {is_NaN(value, "", xtd::diagnostics::stack_frame::empty());}
1519
1531 static void is_NaN(float value, const xtd::diagnostics::stack_frame& stack_frame) {is_NaN(value, "", stack_frame);}
1532
1544 static void is_NaN(float value, const xtd::ustring& message) {is_NaN(value, message, xtd::diagnostics::stack_frame::empty());}
1545
1558 static void is_NaN(float value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1559 try {
1560 assert::is_NaN(value, message, stack_frame);
1561 } catch (...) {
1562 assert::abort();
1563 }
1564 }
1565
1576 template<typename value_t>
1577 static void is_negative(const value_t& value) {is_negative(value, "", xtd::diagnostics::stack_frame::empty());}
1578
1590 template<typename value_t>
1591 static void is_negative(const value_t& value, const xtd::diagnostics::stack_frame& stack_frame) {is_negative(value, "", stack_frame);}
1592
1604 template<typename value_t>
1605 static void is_negative(const value_t& value, const xtd::ustring& message) {is_negative(value, message, xtd::diagnostics::stack_frame::empty());}
1606
1619 template<typename value_t>
1620 static void is_negative(const value_t& value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1621 try {
1622 assert::is_negative(value, message, stack_frame);
1623 } catch (...) {
1624 assert::abort();
1625 }
1626 }
1627
1638 template<typename value_t>
1639 static void is_not_empty(const value_t& value) {is_not_empty(value, "", xtd::diagnostics::stack_frame::empty());}
1640
1652 template<typename value_t>
1653 static void is_not_empty(const value_t& value, const xtd::diagnostics::stack_frame& stack_frame) {is_not_empty(value, "", stack_frame);}
1654
1666 template<typename value_t>
1667 static void is_not_empty(const value_t& value, const xtd::ustring& message) {is_not_empty(value, message, xtd::diagnostics::stack_frame::empty());}
1668
1681 template<typename value_t>
1682 static void is_not_empty(const value_t& value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1683 try {
1684 assert::is_not_empty(value, message, stack_frame);
1685 } catch (...) {
1686 assert::abort();
1687 }
1688 }
1689
1691 template<typename value_t>
1692 static void is_not_empty(const std::initializer_list<value_t>& value) {is_not_empty(value, "", xtd::diagnostics::stack_frame::empty());}
1693 template<typename value_t>
1694 static void is_not_empty(const std::initializer_list<value_t>& value, const xtd::diagnostics::stack_frame& stack_frame) {is_not_empty(value, "", stack_frame);}
1695 template<typename value_t>
1696 static void is_not_empty(const std::initializer_list<value_t>& value, const xtd::ustring& message) {is_not_empty(value, message, xtd::diagnostics::stack_frame::empty());}
1697 template<typename value_t>
1698 static void is_not_empty(const std::initializer_list<value_t>& value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1699 try {
1700 assert::is_not_empty(value, message, stack_frame);
1701 } catch (...) {
1702 assert::abort();
1703 }
1704 }
1705
1706 static void is_not_empty(const char* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1707 try {
1708 assert::is_not_empty(value, message, stack_frame);
1709 } catch (...) {
1710 assert::abort();
1711 }
1712 }
1713
1714 static void is_not_empty(const char8_t* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1715 try {
1716 assert::is_not_empty(value, message, stack_frame);
1717 } catch (...) {
1718 assert::abort();
1719 }
1720 }
1721
1722 static void is_not_empty(const char16_t* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1723 try {
1724 assert::is_not_empty(value, message, stack_frame);
1725 } catch (...) {
1726 assert::abort();
1727 }
1728 }
1729
1730 static void is_not_empty(const char32_t* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1731 try {
1732 assert::is_not_empty(value, message, stack_frame);
1733 } catch (...) {
1734 assert::abort();
1735 }
1736 }
1737
1738 static void is_not_empty(const wchar_t* value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1739 try {
1740 assert::is_not_empty(value, message, stack_frame);
1741 } catch (...) {
1742 assert::abort();
1743 }
1744 }
1746
1756 template<typename type_t, typename value_t>
1757 static void is_not_instance_of(const value_t& value) {is_not_instance_of<type_t>(value, "", xtd::diagnostics::stack_frame::empty());}
1758
1769 template<typename type_t, typename value_t>
1770 static void is_not_instance_of(const value_t& value, const xtd::diagnostics::stack_frame& stack_frame) {is_not_instance_of<type_t>(value, "", stack_frame);}
1771
1782 template<typename type_t, typename value_t>
1783 static void is_not_instance_of(const value_t& value, const xtd::ustring& message) {is_not_instance_of<type_t>(value, message, xtd::diagnostics::stack_frame::empty());}
1784
1796 template<typename type_t, typename value_t>
1797 static void is_not_instance_of(const value_t& value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1798 try {
1799 assert::is_not_instance_of<type_t>(value, message, stack_frame);
1800 } catch (...) {
1801 assert::abort();
1802 }
1803 }
1804
1816 template<typename pointer_t>
1817 static void is_not_null(const pointer_t* pointer) {is_not_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
1818
1831 template<typename pointer_t>
1832 static void is_not_null(const pointer_t* pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_not_null(pointer, "", stack_frame);}
1833
1846 template<typename pointer_t>
1847 static void is_not_null(const pointer_t* pointer, const xtd::ustring& message) {is_not_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
1848
1862 template<typename pointer_t>
1863 static void is_not_null(const pointer_t* pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1864 try {
1865 assert::is_not_null(pointer, message, stack_frame);
1866 } catch (...) {
1867 assert::abort();
1868 }
1869 }
1870
1881 template<typename pointer_t>
1882 static void is_not_null(const std::unique_ptr<pointer_t>& pointer) {is_not_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
1883
1895 template<typename pointer_t>
1896 static void is_not_null(const std::unique_ptr<pointer_t>& pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_not_null(pointer, "", stack_frame);}
1897
1909 template<typename pointer_t>
1910 static void is_not_null(const std::unique_ptr<pointer_t>& pointer, const xtd::ustring& message) {is_not_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
1911
1924 template<typename pointer_t>
1925 static void is_not_null(const std::unique_ptr<pointer_t>& pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1926 try {
1927 assert::is_not_null(pointer, message, stack_frame);
1928 } catch (...) {
1929 assert::abort();
1930 }
1931 }
1932
1943 template<typename pointer_t>
1944 static void is_not_null(const std::shared_ptr<pointer_t>& pointer) {is_not_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
1945
1957 template<typename pointer_t>
1958 static void is_not_null(const std::shared_ptr<pointer_t>& pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_not_null(pointer, "", stack_frame);}
1959
1971 template<typename pointer_t>
1972 static void is_not_null(const std::shared_ptr<pointer_t>& pointer, const xtd::ustring& message) {is_not_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
1973
1986 template<typename pointer_t>
1987 static void is_not_null(const std::shared_ptr<pointer_t>& pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
1988 try {
1989 assert::is_not_null(pointer, message, stack_frame);
1990 } catch (...) {
1991 assert::abort();
1992 }
1993 }
1994
2007 template<typename pointer_t>
2008 static void is_not_null(const std::weak_ptr<pointer_t>& pointer) {is_not_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
2009
2023 template<typename pointer_t>
2024 static void is_not_null(const std::weak_ptr<pointer_t>& pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_not_null(pointer, "", stack_frame);}
2025
2039 template<typename pointer_t>
2040 static void is_not_null(const std::weak_ptr<pointer_t>& pointer, const xtd::ustring& message) {is_not_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
2041
2056 template<typename pointer_t>
2057 static void is_not_null(const std::weak_ptr<pointer_t>& pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {assert::succeed(message, stack_frame);}
2058
2067 static void is_not_null(std::nullptr_t pointer) {is_not_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
2068
2078 static void is_not_null(std::nullptr_t pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_not_null(pointer, "", stack_frame);}
2079
2089 static void is_not_null(std::nullptr_t pointer, const xtd::ustring& message) {is_not_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
2090
2101 static void is_not_null(std::nullptr_t pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2102 try {
2103 assert::is_not_null(pointer, message, stack_frame);
2104 } catch (...) {
2105 assert::abort();
2106 }
2107 }
2108
2119 template<typename value_t>
2120 static void is_not_zero(const value_t& value) {is_not_zero(value, "", xtd::diagnostics::stack_frame::empty());}
2121
2133 template<typename value_t>
2134 static void is_not_zero(const value_t& value, const xtd::diagnostics::stack_frame& stack_frame) {is_not_zero(value, "", stack_frame);}
2135
2147 template<typename value_t>
2148 static void is_not_zero(const value_t& value, const xtd::ustring& message) {is_not_zero(value, message, xtd::diagnostics::stack_frame::empty());}
2149
2162 template<typename value_t>
2163 static void is_not_zero(const value_t& value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2164 try {
2165 assert::is_zero(value, message, stack_frame);
2166 } catch (...) {
2167 assert::abort();
2168 }
2169 }
2170
2182 template<typename pointer_t>
2183 static void is_null(const pointer_t* pointer) {is_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
2184
2197 template<typename pointer_t>
2198 static void is_null(const pointer_t* pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_null(pointer, "", stack_frame);}
2199
2212 template<typename pointer_t>
2213 static void is_null(const pointer_t* pointer, const xtd::ustring& message) {is_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
2214
2228 template<typename pointer_t>
2229 static void is_null(const pointer_t* pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2230 try {
2231 assert::is_null(pointer, message, stack_frame);
2232 } catch (...) {
2233 assert::abort();
2234 }
2235 }
2236
2247 template<typename pointer_t>
2248 static void is_null(const std::unique_ptr<pointer_t>& pointer) {is_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
2249
2261 template<typename pointer_t>
2262 static void is_null(const std::unique_ptr<pointer_t>& pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_null(pointer, "", stack_frame);}
2263
2275 template<typename pointer_t>
2276 static void is_null(const std::unique_ptr<pointer_t>& pointer, const xtd::ustring& message) {is_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
2277
2290 template<typename pointer_t>
2291 static void is_null(const std::unique_ptr<pointer_t>& pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2292 try {
2293 assert::is_null(pointer, message, stack_frame);
2294 } catch (...) {
2295 assert::abort();
2296 }
2297 }
2298
2309 template<typename pointer_t>
2310 static void is_null(const std::shared_ptr<pointer_t>& pointer) {is_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
2311
2323 template<typename pointer_t>
2324 static void is_null(const std::shared_ptr<pointer_t>& pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_null(pointer, "", stack_frame);}
2325
2337 template<typename pointer_t>
2338 static void is_null(const std::shared_ptr<pointer_t>& pointer, const xtd::ustring& message) {is_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
2339
2352 template<typename pointer_t>
2353 static void is_null(const std::shared_ptr<pointer_t>& pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2354 try {
2355 assert::is_null(pointer, message, stack_frame);
2356 } catch (...) {
2357 assert::abort();
2358 }
2359 }
2360
2373 template<typename pointer_t>
2374 static void is_null(const std::weak_ptr<pointer_t>& pointer) {is_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
2375
2389 template<typename pointer_t>
2390 static void is_null(const std::weak_ptr<pointer_t>& pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_null(pointer, "", stack_frame);}
2391
2405 template<typename pointer_t>
2406 static void is_null(const std::weak_ptr<pointer_t>& pointer, const xtd::ustring& message) {is_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
2407
2422 template<typename pointer_t>
2423 static void is_null(const std::weak_ptr<pointer_t>& pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2424 try {
2425 assert::is_null(pointer, message, stack_frame);
2426 } catch (...) {
2427 assert::abort();
2428 }
2429 }
2430
2439 static void is_null(std::nullptr_t pointer) {is_null(pointer, "", xtd::diagnostics::stack_frame::empty());}
2440
2450 static void is_null(std::nullptr_t pointer, const xtd::diagnostics::stack_frame& stack_frame) {is_null(pointer, "", stack_frame);}
2451
2461 static void is_null(std::nullptr_t pointer, const xtd::ustring& message) {is_null(pointer, message, xtd::diagnostics::stack_frame::empty());}
2462
2473 static void is_null(std::nullptr_t pointer, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {assert::succeed(message, stack_frame);}
2474
2485 template<typename value_t>
2486 static void is_positive(const value_t& value) {is_positive(value, "", xtd::diagnostics::stack_frame::empty());}
2487
2499 template<typename value_t>
2500 static void is_positive(const value_t& value, const xtd::diagnostics::stack_frame& stack_frame) {is_positive(value, "", stack_frame);}
2501
2513 template<typename value_t>
2514 static void is_positive(const value_t& value, const xtd::ustring& message) {is_positive(value, message, xtd::diagnostics::stack_frame::empty());}
2515
2528 template<typename value_t>
2529 static void is_positive(const value_t& value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2530 try {
2531 assert::is_positive(value, message, stack_frame);
2532 } catch (...) {
2533 assert::abort();
2534 }
2535 }
2536
2547 static void is_true(bool condition) {is_true(condition, "", xtd::diagnostics::stack_frame::empty());}
2548
2560 static void is_true(bool condition, const xtd::diagnostics::stack_frame& stack_frame) {is_true(condition, "", stack_frame);}
2561
2573 static void is_true(bool condition, const xtd::ustring& message) {is_true(condition, message, xtd::diagnostics::stack_frame::empty());}
2574
2587 static void is_true(bool condition, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2588 try {
2589 assert::is_true(condition, message, stack_frame);
2590 } catch (...) {
2591 assert::abort();
2592 }
2593 }
2594
2605 template<typename value_t>
2606 static void is_zero(const value_t& value) {is_zero(value, "", xtd::diagnostics::stack_frame::empty());}
2607
2619 template<typename value_t>
2620 static void is_zero(const value_t& value, const xtd::diagnostics::stack_frame& stack_frame) {is_zero(value, "", stack_frame);}
2621
2633 template<typename value_t>
2634 static void is_zero(const value_t& value, const xtd::ustring& message) {is_zero(value, message, xtd::diagnostics::stack_frame::empty());}
2635
2648 template<typename value_t>
2649 static void is_zero(const value_t& value, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2650 try {
2651 assert::is_zero(value, message, stack_frame);
2652 } catch (...) {
2653 assert::abort();
2654 }
2655 }
2656
2667 template<typename exception_t>
2668 static void throws(const std::function<void()>& statement) {throws<exception_t>(statement, "", xtd::diagnostics::stack_frame::empty());}
2669
2681 template<typename exception_t>
2682 static void throws(const std::function<void()>& statement, const xtd::diagnostics::stack_frame& stack_frame) {throws<exception_t>(statement, "", stack_frame);}
2683
2695 template<typename exception_t>
2696 static void throws(const std::function<void()>& statement, const xtd::ustring& message) {throws<exception_t>(statement, message, xtd::diagnostics::stack_frame::empty());}
2697
2710 template<typename exception_t>
2711 static void throws(const std::function<void()>& statement, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2712 try {
2713 assert::throws<exception_t>(statement, message, stack_frame);
2714 } catch (...) {
2715 assert::abort();
2716 }
2717 }
2718
2728 static void throws_any(const std::function<void()>& statement) {throws_any(statement, "", xtd::diagnostics::stack_frame::empty());}
2729
2740 static void throws_any(const std::function<void()>& statement, const xtd::diagnostics::stack_frame& stack_frame) {throws_any(statement, "", stack_frame);}
2741
2752 static void throws_any(const std::function<void()>& statement, const xtd::ustring& message) {throws_any(statement, message, xtd::diagnostics::stack_frame::empty());}
2753
2765 static void throws_any(const std::function<void()>& statement, const xtd::ustring& message, const xtd::diagnostics::stack_frame& stack_frame) {
2766 try {
2767 assert::throws_any(statement, message, stack_frame);
2768 } catch (...) {
2769 assert::abort();
2770 }
2771 }
2772 };
2773 }
2774}
Contains xtd::tunit::assert class.
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.h:29
static stack_frame empty() noexcept
Return an empty stack frame.
static void are_not_same(const expected_t &expected, const actual_t &actual)
Asserts that two objects do refer to differents objects.
Definition assert.h:451
static void are_same(const expected_t &expected, const actual_t &actual)
Asserts that two objects do refer to differents objects.
Definition assert.h:520
static void is_false(bool condition)
Asserts that ta condition is false.
Definition assert.h:884
static void is_less(const value1_t &val1, const value2_t &val2)
Asserts that the first value is is_less than the second value.
Definition assert.h:1191
static void is_greater_or_equal(const value1_t &val1, const value2_t &val2)
Asserts that the first value is greater than or equal to the second value.
Definition assert.h:1036
static void is_less_or_equal(const value1_t &val1, const value2_t &val2)
Asserts that the first value is is_less than or equal to the second value.
Definition assert.h:1287
static void is_NaN(double value)
that a value is NaN.
Definition assert.h:1384
static void throws_any(const std::function< void()> &statement)
Asserts that the staement does not throw an exception.
Definition assert.h:2675
static void is_negative(const value_t &value)
Asserts that ta condition is negative.
Definition assert.h:1556
static void is_empty(const value_t &value)
Asserts that collection contains an item.
Definition assert.h:768
static void is_true(bool condition)
Asserts that ta condition is true.
Definition assert.h:2489
static void does_not_throw(const std::function< void()> &statement)
Asserts that the staement does not throw an exception.
Definition assert.h:709
static void is_not_empty(const value_t &value)
Asserts that collection oes not contain any item.
Definition assert.h:1617
static void is_not_null(const pointer_t *pointer)
Asserts that the pointer is not null.
Definition assert.h:1787
static void is_positive(const value_t &value)
Asserts that ta condition is positive.
Definition assert.h:2429
static void is_null(const pointer_t *pointer)
Asserts that the pointer is null.
Definition assert.h:2139
static void is_greater(const value1_t &val1, const value2_t &val2)
Asserts that the first value is greater than the second value.
Definition assert.h:941
static void is_zero(const value_t &value)
Asserts that ta condition is zero.
Definition assert.h:2547
static void are_equal(const expected_t &expected, const actual_t &actual)
Asserts that two type are equal.
Definition assert.h:50
static void are_not_equal(const expected_t &expected, const actual_t &actual)
Asserts that two type are not equal.
Definition assert.h:354
static void contains(const item_t &item, const collection_t &collection)
Asserts that collection contains an item.
Definition assert.h:587
The assume class contains a collection of static methods that implement the most common assertions us...
Definition assume.h:20
static void are_same(const expected_t &expected, const actual_t &actual, const xtd::ustring &message)
Assumes that two objects do refer to differents objects.
Definition assume.h:551
static void is_zero(const value_t &value)
Assumes that ta condition is zero.
Definition assume.h:2606
static void are_not_same(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two objects do refer to differents objects.
Definition assume.h:465
static void is_not_null(std::nullptr_t pointer)
Assumes that the pointer is not null.
Definition assume.h:2067
static void are_equal(float expected, float actual, float tolerance)
Assumes that two type are equal.
Definition assume.h:161
static void is_less_or_equal(const value1_t &val1, const value2_t &val2)
Assumes that the first value is is_less than or equal to the second value.
Definition assume.h:1299
static void is_not_null(std::nullptr_t pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:2101
static void is_NaN(long double value, const xtd::ustring &message)
Assumes that a value is NaN.
Definition assume.h:1486
static void is_not_null(const std::weak_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:2024
static void is_null(const std::unique_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2262
static void is_not_null(const std::shared_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:1958
static void are_equal(float expected, float actual, float tolerance, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are equal.
Definition assume.h:175
static void are_same(const expected_t &expected, const actual_t &actual)
Assumes that two objects do refer to differents objects.
Definition assume.h:519
static void is_positive(const value_t &value)
Assumes that ta condition is positive.
Definition assume.h:2486
static void are_not_equal(const expected_t &expected, const actual_t &actual)
Assumes that two type are not equal.
Definition assume.h:346
static void are_equal(float expected, float &actual, float tolerance, const xtd::ustring &message)
Assumes that two type are equal.
Definition assume.h:189
static void are_equal(long double expected, long double actual, long double tolerance, const xtd::ustring &message)
Assumes that two type are equal.
Definition assume.h:313
static void are_equal(long double expected, long double actual, long double tolerance, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are equal.
Definition assume.h:299
static void is_less(const value1_t &val1, const value2_t &val2, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the first value is is_less than the second value.
Definition assume.h:1211
static void throws_any(const std::function< void()> &statement, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the staement does not throw an exception.
Definition assume.h:2740
static void is_NaN(float value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that a value is NaN.
Definition assume.h:1558
static void is_positive(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that ta condition is positive.
Definition assume.h:2500
static void does_not_throw(const std::function< void()> &statement, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the staement does not throw an exception.
Definition assume.h:741
static void are_not_same(const expected_t &expected, const actual_t &actual)
Assumes that two objects do refer to differents objects.
Definition assume.h:449
static void are_equal(float expected, float actual, float tolerance, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are equal.
Definition assume.h:204
static void is_not_null(const pointer_t *pointer)
Assumes that the pointer is not null.
Definition assume.h:1817
static void is_greater_or_equal(const value1_t &val1, const value2_t &val2, const xtd::ustring &message)
Assumes that the first value is greater than or equal to the second value.
Definition assume.h:1065
static void is_not_empty(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection does not contain any item.
Definition assume.h:1682
static void is_null(const std::shared_ptr< pointer_t > &pointer)
Assumes that the pointer is null.
Definition assume.h:2310
static void is_zero(const value_t &value, const xtd::ustring &message)
Assumes that ta condition is zero.
Definition assume.h:2634
static void are_equal(double expected, double actual, double tolerance)
Assumes that two type are equal.
Definition assume.h:223
static void is_NaN(double value, const xtd::diagnostics::stack_frame &stack_frame)
that a value is NaN.
Definition assume.h:1415
static void does_not_throw(const std::function< void()> &statement)
Assumes that the staement does not throw an exception.
Definition assume.h:704
static void is_greater_or_equal(const value1_t &val1, const value2_t &val2)
Assumes that the first value is greater than or equal to the second value.
Definition assume.h:1037
static void is_less_or_equal(const value1_t &val1, const value2_t &val2, const xtd::ustring &message)
Assumes that the first value is is_less than or equal to the second value.
Definition assume.h:1327
static void is_not_null(const pointer_t *pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:1863
static void is_zero(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that ta condition is zero.
Definition assume.h:2649
static void is_NaN(float value, const xtd::ustring &message)
Assumes that a value is NaN.
Definition assume.h:1544
static void contains(const item_t &item, const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains an item.
Definition assume.h:601
static void is_NaN(float value)
that a value is NaN.
Definition assume.h:1518
static void is_instance_of(const value_t &value)
Assumes that an object is of the type supplied or a derived type.
Definition assume.h:1140
static void is_not_instance_of(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that an object is not of the type supplied or a derived type.
Definition assume.h:1797
static void is_not_instance_of(const value_t &value, const xtd::ustring &message)
Assumes that an object is not of the type supplied or a derived type.
Definition assume.h:1783
static void is_null(const pointer_t *pointer, const xtd::ustring &message)
Assumes that the pointer is null.
Definition assume.h:2213
static void is_NaN(double value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that a value is NaN.
Definition assume.h:1442
static void is_not_zero(const value_t &value)
Assumes that ta condition is not zero.
Definition assume.h:2120
static void are_equal(long double expected, long double actual, long double tolerance, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are equal.
Definition assume.h:328
static void is_greater_or_equal(const value1_t &val1, const value2_t &val2, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the first value is greater than or equal to the second value.
Definition assume.h:1080
static void is_not_null(std::nullptr_t pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:2078
static void is_null(std::nullptr_t pointer)
Assumes that the pointer is null.
Definition assume.h:2439
static void is_positive(const value_t &value, const xtd::ustring &message)
Assumes that ta condition is positive.
Definition assume.h:2514
static void is_not_zero(const value_t &value, const xtd::ustring &message)
Assumes that ta condition is not zero.
Definition assume.h:2148
static void is_true(bool condition)
Assumes that ta condition is true.
Definition assume.h:2547
static void is_NaN(long double value, const xtd::diagnostics::stack_frame &stack_frame)
that a value is NaN.
Definition assume.h:1473
static void throws_any(const std::function< void()> &statement, const xtd::ustring &message)
Assumes that the staement does not throw an exception.
Definition assume.h:2752
static void is_instance_of(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that an object is of the type supplied or a derived type.
Definition assume.h:1153
static void is_greater_or_equal(const value1_t &val1, const value2_t &val2, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the first value is greater than or equal to the second value.
Definition assume.h:1051
static void is_negative(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that ta condition is negative.
Definition assume.h:1620
static void are_equal(const expected_t &expected, const actual_t &actual)
Assumes that two type are equal.
Definition assume.h:36
static void is_not_null(const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:1987
static void is_null(const std::shared_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2324
static void is_not_null(const pointer_t *pointer, const xtd::ustring &message)
Assumes that the pointer is not null.
Definition assume.h:1847
static void is_true(bool condition, const xtd::ustring &message)
Assumes that a condition is true.
Definition assume.h:2573
static void is_null(const std::weak_ptr< pointer_t > &pointer)
Assumes that the pointer is null.
Definition assume.h:2374
static void is_not_null(const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message)
Assumes that the pointer is not null.
Definition assume.h:1972
static void are_not_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are not equal.
Definition assume.h:359
static void is_NaN(double value, const xtd::ustring &message)
Assumes that a value is NaN.
Definition assume.h:1428
static void are_equal(double expected, double actual, double tolerance, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are equal.
Definition assume.h:237
static void is_null(std::nullptr_t pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2473
static void is_not_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection does not contain any item.
Definition assume.h:1653
static void are_equal(double expected, double actual, double tolerance, const xtd::ustring &message)
Assumes that two type are equal.
Definition assume.h:251
static void is_not_null(const std::shared_ptr< pointer_t > &pointer)
Assumes that the pointer is not null.
Definition assume.h:1944
static void does_not_throw(const std::function< void()> &statement, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the staement does not throw an exception.
Definition assume.h:716
static void is_not_zero(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that ta condition is not zero.
Definition assume.h:2163
static void are_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are equal.
Definition assume.h:49
static void contains(const item_t &item, const collection_t &collection, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains an item.
Definition assume.h:630
static void is_not_null(const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message)
Assumes that the pointer is not null.
Definition assume.h:1910
static void is_NaN(long double value)
that a value is NaN.
Definition assume.h:1460
static void is_not_instance_of(const value_t &value)
Assumes that an object is not of the type supplied or a derived type.
Definition assume.h:1757
static void is_true(bool condition, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that a condition is true.
Definition assume.h:2560
static void is_not_null(const std::unique_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:1896
static void is_null(const std::unique_ptr< pointer_t > &pointer)
Assumes that the pointer is null.
Definition assume.h:2248
static void are_not_equal(const expected_t &expected, const actual_t &actual, const xtd::ustring &message)
Assumes that two type are not equal.
Definition assume.h:372
static void are_equal(long double expected, long double actual, long double tolerance)
Assumes that two type are equal.
Definition assume.h:285
static void is_not_empty(const value_t &value, const xtd::ustring &message)
Assumes that collection does not contain any item.
Definition assume.h:1667
static void is_null(const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2353
static void contains(const item_t &item, const collection_t &collection, const xtd::ustring &message)
Assumes that collection contains an item.
Definition assume.h:615
static void is_less(const value1_t &val1, const value2_t &val2)
Assumes that the first value is is_less than the second value.
Definition assume.h:1198
static void does_not_throw(const std::function< void()> &statement, const xtd::ustring &message)
Assumes that the staement does not throw an exception.
Definition assume.h:728
static void are_not_equal(const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are not equal.
Definition assume.h:386
static void is_null(const pointer_t *pointer)
Assumes that the pointer is null.
Definition assume.h:2183
static void is_positive(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that ta condition is positive.
Definition assume.h:2529
static void is_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains an item.
Definition assume.h:774
static void is_negative(const value_t &value, const xtd::ustring &message)
Assumes that ta condition is negative.
Definition assume.h:1605
static void is_less(const value1_t &val1, const value2_t &val2, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the first value is is_less than the second value.
Definition assume.h:1238
static void is_empty(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that collection contains an item.
Definition assume.h:803
static void is_zero(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that ta condition is zero.
Definition assume.h:2620
static void throws_any(const std::function< void()> &statement)
Assumes that the staement does not throw an exception.
Definition assume.h:2728
static void are_equal(double expected, double actual, double tolerance, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are equal.
Definition assume.h:266
static void is_null(const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message)
Assumes that the pointer is null.
Definition assume.h:2406
static void are_equal(const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two type are equal.
Definition assume.h:76
static void is_not_instance_of(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that an object is not of the type supplied or a derived type.
Definition assume.h:1770
static void are_same(const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two objects do refer to differents objects.
Definition assume.h:568
static void is_null(const std::weak_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2390
static void are_not_same(const expected_t &expected, const actual_t &actual, const xtd::ustring &message)
Assumes that two objects do refer to differents objects.
Definition assume.h:481
static void is_not_null(const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:1925
static void is_null(const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2291
static void is_less(const value1_t &val1, const value2_t &val2, const xtd::ustring &message)
Assumes that the first value is is_less than the second value.
Definition assume.h:1224
static void is_instance_of(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that an object is of the type supplied or a derived type.
Definition assume.h:1180
static void is_less_or_equal(const value1_t &val1, const value2_t &val2, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the first value is is_less than or equal to the second value.
Definition assume.h:1313
static void is_empty(const value_t &value, const xtd::ustring &message)
Assumes that collection contains an item.
Definition assume.h:788
static void is_null(const pointer_t *pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2198
static void is_negative(const value_t &value)
Assumes that ta condition is negative.
Definition assume.h:1577
static void is_not_null(const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:2057
static void is_null(std::nullptr_t pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2450
static void is_null(const pointer_t *pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2229
static void is_NaN(long double value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that a value is NaN.
Definition assume.h:1500
static void is_null(const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message)
Assumes that the pointer is null.
Definition assume.h:2338
static void is_NaN(float value, const xtd::diagnostics::stack_frame &stack_frame)
that a value is NaN.
Definition assume.h:1531
static void is_null(std::nullptr_t pointer, const xtd::ustring &message)
Assumes that the pointer is null.
Definition assume.h:2461
static void is_not_null(std::nullptr_t pointer, const xtd::ustring &message)
Assumes that the pointer is not null.
Definition assume.h:2089
static void is_NaN(double value)
that a value is NaN.
Definition assume.h:1402
static void is_null(const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is null.
Definition assume.h:2423
static void throws_any(const std::function< void()> &statement, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the staement does not throw an exception.
Definition assume.h:2765
static void is_not_null(const pointer_t *pointer, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the pointer is not null.
Definition assume.h:1832
static void is_not_zero(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that ta condition is not zero.
Definition assume.h:2134
static void is_not_null(const std::unique_ptr< pointer_t > &pointer)
Assumes that the pointer is not null.
Definition assume.h:1882
static void is_not_empty(const value_t &value)
Assumes that collection oes not contain any item.
Definition assume.h:1639
static void is_true(bool condition, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that a condition is true.
Definition assume.h:2587
static void are_equal(const expected_t &expected, const actual_t &actual, const xtd::ustring &message)
Assumes that two type are equal.
Definition assume.h:62
static void is_negative(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that ta condition is negative.
Definition assume.h:1591
static void contains(const item_t &item, const collection_t &collection)
Assumes that collection contains an item.
Definition assume.h:587
static void is_empty(const value_t &value)
Assumes that collection contains an item.
Definition assume.h:760
static void are_not_same(const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two objects do refer to differents objects.
Definition assume.h:498
static void is_less_or_equal(const value1_t &val1, const value2_t &val2, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that the first value is is_less than or equal to the second value.
Definition assume.h:1342
static void are_same(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Assumes that two objects do refer to differents objects.
Definition assume.h:535
static void is_instance_of(const value_t &value, const xtd::ustring &message)
Assumes that an object is of the type supplied or a derived type.
Definition assume.h:1166
static void is_not_null(const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message)
Assumes that the pointer is not null.
Definition assume.h:2040
static void is_null(const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message)
Assumes that the pointer is null.
Definition assume.h:2276
static void is_not_null(const std::weak_ptr< pointer_t > &pointer)
Assumes that the pointer is not null.
Definition assume.h:2008
The base class for assert.
Definition base_assert.h:25
static void abort()
Abort current test. This is used by the other Assert functions.
Definition base_assert.h:36
static void succeed()
Generates a success with a generic message. This is used by the other Assert functions.
Definition base_assert.h:140
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:48
#define csf_
Provides information about the current stack frame.
Definition stack_frame.h:213
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17