34      template<
typename expected_t, 
typename actual_t>
 
   46      template<
typename expected_t, 
typename actual_t>
 
   58      template<
typename expected_t, 
typename actual_t>
 
   71      template<
typename expected_t, 
typename actual_t>
 
  101          base_assert::error();
 
  109          base_assert::error();
 
  117          base_assert::error();
 
  125          base_assert::error();
 
  133          base_assert::error();
 
  141          base_assert::error();
 
  200          base_assert::error();
 
  214      static void are_equal(
double expected, 
double actual, 
double tolerance) {
are_equal(expected, actual, tolerance, 
"", 
csf_);}
 
  258          base_assert::error();
 
  272      static void are_equal(
long double expected, 
long double actual, 
long double tolerance) {
are_equal(expected, actual, tolerance, 
"", 
csf_);}
 
  316          base_assert::error();
 
  328      template<
typename expected_t, 
typename actual_t>
 
  340      template<
typename expected_t, 
typename actual_t>
 
  352      template<
typename expected_t, 
typename actual_t>
 
  365      template<
typename expected_t, 
typename actual_t>
 
  370          base_assert::error();
 
  379          base_assert::error();
 
  387          base_assert::error();
 
  395          base_assert::error();
 
  403          base_assert::error();
 
  411          base_assert::error();
 
  427      template<
typename expected_t, 
typename actual_t>
 
  442      template<
typename expected_t, 
typename actual_t>
 
  457      template<
typename expected_t, 
typename actual_t>
 
  473      template<
typename expected_t, 
typename actual_t>
 
  478          base_assert::error();
 
  493      template<
typename expected_t, 
typename actual_t>
 
  508      template<
typename expected_t, 
typename actual_t>
 
  523      template<
typename expected_t, 
typename actual_t>
 
  539      template<
typename expected_t, 
typename actual_t>
 
  544          base_assert::error();
 
  557      template<
typename item_t, 
typename collection_t>
 
  570      template<
typename item_t, 
typename collection_t>
 
  583      template<
typename item_t, 
typename collection_t>
 
  597      template<
typename item_t, 
typename collection_t>
 
  602          base_assert::error();
 
  607      template<
typename item_t, 
typename value_t>
 
  609      template<
typename item_t, 
typename value_t>
 
  611      template<
typename item_t, 
typename value_t>
 
  613      template<
typename item_t, 
typename value_t>
 
  618          base_assert::error();
 
  626          base_assert::error();
 
  634          base_assert::error();
 
  642          base_assert::error();
 
  650          base_assert::error();
 
  658          base_assert::error();
 
  709          base_assert::error();
 
  722      template<
typename value_t>
 
  735      template<
typename value_t>
 
  748      template<
typename value_t>
 
  762      template<
typename value_t>
 
  767          base_assert::error();
 
  772      template<
typename value_t>
 
  774      template<
typename value_t>
 
  776      template<
typename value_t>
 
  778      template<
typename value_t>
 
  783          base_assert::error();
 
  791          base_assert::error();
 
  799          base_assert::error();
 
  807          base_assert::error();
 
  815          base_assert::error();
 
  823          base_assert::error();
 
  878          base_assert::error();
 
  890      template<
typename value1_t, 
typename value2_t>
 
  902      template<
typename value1_t, 
typename value2_t>
 
  903      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);}
 
  914      template<
typename value1_t, 
typename value2_t>
 
  927      template<
typename value1_t, 
typename value2_t>
 
  932          base_assert::error();
 
  941          base_assert::error();
 
  949          base_assert::error();
 
  957          base_assert::error();
 
  965          base_assert::error();
 
  973          base_assert::error();
 
  987      template<
typename value1_t, 
typename value2_t>
 
 1000      template<
typename value1_t, 
typename value2_t>
 
 1013      template<
typename value1_t, 
typename value2_t>
 
 1027      template<
typename value1_t, 
typename value2_t>
 
 1032          base_assert::error();
 
 1041          base_assert::error();
 
 1049          base_assert::error();
 
 1057          base_assert::error();
 
 1065          base_assert::error();
 
 1073          base_assert::error();
 
 1086      template<
typename type_t, 
typename value_t>
 
 1098      template<
typename type_t, 
typename value_t>
 
 1110      template<
typename type_t, 
typename value_t>
 
 1123      template<
typename type_t, 
typename value_t>
 
 1126          assert::is_instance_of<type_t>(value, message, stack_frame);
 
 1128          base_assert::error();
 
 1140      template<
typename value1_t, 
typename value2_t>
 
 1152      template<
typename value1_t, 
typename value2_t>
 
 1164      template<
typename value1_t, 
typename value2_t>
 
 1177      template<
typename value1_t, 
typename value2_t>
 
 1182          base_assert::error();
 
 1191          base_assert::error();
 
 1199          base_assert::error();
 
 1207          base_assert::error();
 
 1215          base_assert::error();
 
 1223          base_assert::error();
 
 1237      template<
typename value1_t, 
typename value2_t>
 
 1250      template<
typename value1_t, 
typename value2_t>
 
 1263      template<
typename value1_t, 
typename value2_t>
 
 1277      template<
typename value1_t, 
typename value2_t>
 
 1282          base_assert::error();
 
 1291          base_assert::error();
 
 1299          base_assert::error();
 
 1307          base_assert::error();
 
 1315          base_assert::error();
 
 1323          base_assert::error();
 
 1378          base_assert::error();
 
 1432          base_assert::error();
 
 1486          base_assert::error();
 
 1499      template<
typename value_t>
 
 1512      template<
typename value_t>
 
 1525      template<
typename value_t>
 
 1539      template<
typename value_t>
 
 1544          base_assert::error();
 
 1557      template<
typename value_t>
 
 1570      template<
typename value_t>
 
 1583      template<
typename value_t>
 
 1597      template<
typename value_t>
 
 1602          base_assert::error();
 
 1607      template<
typename value_t>
 
 1609      template<
typename value_t>
 
 1611      template<
typename value_t>
 
 1613      template<
typename value_t>
 
 1618          base_assert::error();
 
 1626          base_assert::error();
 
 1634          base_assert::error();
 
 1642          base_assert::error();
 
 1650          base_assert::error();
 
 1658          base_assert::error();
 
 1671      template<
typename type_t, 
typename value_t>
 
 1683      template<
typename type_t, 
typename value_t>
 
 1695      template<
typename type_t, 
typename value_t>
 
 1708      template<
typename type_t, 
typename value_t>
 
 1711          assert::is_not_instance_of<type_t>(value, message, stack_frame);
 
 1713          base_assert::error();
 
 1727      template<
typename po
inter_t>
 
 1741      template<
typename po
inter_t>
 
 1755      template<
typename po
inter_t>
 
 1770      template<
typename po
inter_t>
 
 1775          base_assert::error();
 
 1788      template<
typename po
inter_t>
 
 1801      template<
typename po
inter_t>
 
 1814      template<
typename po
inter_t>
 
 1828      template<
typename po
inter_t>
 
 1833          base_assert::error();
 
 1846      template<
typename po
inter_t>
 
 1859      template<
typename po
inter_t>
 
 1872      template<
typename po
inter_t>
 
 1886      template<
typename po
inter_t>
 
 1891          base_assert::error();
 
 1906      template<
typename po
inter_t>
 
 1921      template<
typename po
inter_t>
 
 1936      template<
typename po
inter_t>
 
 1952      template<
typename po
inter_t>
 
 1997          base_assert::error();
 
 2010      template<
typename value_t>
 
 2023      template<
typename value_t>
 
 2036      template<
typename value_t>
 
 2050      template<
typename value_t>
 
 2055          base_assert::error();
 
 2069      template<
typename po
inter_t>
 
 2083      template<
typename po
inter_t>
 
 2097      template<
typename po
inter_t>
 
 2112      template<
typename po
inter_t>
 
 2117          base_assert::error();
 
 2130      template<
typename po
inter_t>
 
 2143      template<
typename po
inter_t>
 
 2156      template<
typename po
inter_t>
 
 2170      template<
typename po
inter_t>
 
 2175          base_assert::error();
 
 2188      template<
typename po
inter_t>
 
 2201      template<
typename po
inter_t>
 
 2214      template<
typename po
inter_t>
 
 2228      template<
typename po
inter_t>
 
 2233          base_assert::error();
 
 2248      template<
typename po
inter_t>
 
 2263      template<
typename po
inter_t>
 
 2278      template<
typename po
inter_t>
 
 2294      template<
typename po
inter_t>
 
 2299          base_assert::error();
 
 2352      template<
typename value_t>
 
 2365      template<
typename value_t>
 
 2378      template<
typename value_t>
 
 2392      template<
typename value_t>
 
 2397          base_assert::error();
 
 2451          base_assert::error();
 
 2464      template<
typename value_t>
 
 2477      template<
typename value_t>
 
 2490      template<
typename value_t>
 
 2504      template<
typename value_t>
 
 2509          base_assert::error();
 
 2522      template<
typename exception_t>
 
 2535      template<
typename exception_t>
 
 2548      template<
typename exception_t>
 
 2562      template<
typename exception_t>
 
 2565          assert::throws<exception_t>(statement, message, stack_frame);
 
 2567          base_assert::error();
 
 2617          base_assert::error();
 
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 base class for assert.
Definition: base_assert.h:25
 
static void succeed()
Generates a success with a generic message. This is used by the other Assert functions.
Definition: base_assert.h:140
 
The valid class contains a collection of static methods that implement the most common assertions use...
Definition: valid.h:20
 
static void is_not_null(const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1953
 
static void is_null(const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2229
 
static void is_not_null(const std::weak_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1922
 
static void is_null(const std::unique_ptr< pointer_t > &pointer)
Validates that the pointer is null.
Definition: valid.h:2131
 
static void is_not_null(const pointer_t *pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1771
 
static void are_equal(float expected, float actual, float tolerance, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are equal.
Definition: valid.h:196
 
static void are_equal(long double expected, long double actual, long double tolerance, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are equal.
Definition: valid.h:285
 
static void is_NaN(double value, const xtd::diagnostics::stack_frame &stack_frame)
that a value is NaN.
Definition: valid.h:1349
 
static void are_not_equal(const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are not equal.
Definition: valid.h:366
 
static void are_equal(float expected, float actual, float tolerance)
Validates that two type are equal.
Definition: valid.h:156
 
static void is_null(const std::weak_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2264
 
static void is_not_null(const std::unique_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1802
 
static void contains(const item_t &item, const collection_t &collection, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains an item.
Definition: valid.h:598
 
static void is_null(const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2295
 
static void is_positive(const value_t &value, const xtd::ustring &message)
Validates that ta condition is positive.
Definition: valid.h:2379
 
static void throws_any(const std::function< void()> &statement)
Validates that the statement does not throw an exception.
Definition: valid.h:2579
 
static void is_NaN(float value, const xtd::diagnostics::stack_frame &stack_frame)
that a value is NaN.
Definition: valid.h:1457
 
static void is_NaN(float value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that a value is NaN.
Definition: valid.h:1482
 
static void is_not_null(const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1829
 
static void is_not_zero(const value_t &value, const xtd::ustring &message)
Validates that ta condition is not zero.
Definition: valid.h:2037
 
static void is_null(std::nullptr_t pointer)
Validates that the pointer is null.
Definition: valid.h:2310
 
static void is_null(const pointer_t *pointer)
Validates that the pointer is null.
Definition: valid.h:2070
 
static void is_not_instance_of(const value_t &value)
Validates that an object is not of the type supplied or a derived type.
Definition: valid.h:1672
 
static void is_not_zero(const value_t &value)
Validates that ta condition is not zero.
Definition: valid.h:2011
 
static void are_equal(float expected, float actual, float tolerance, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are equal.
Definition: valid.h:169
 
static void are_same(const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two objects do refer to different objects.
Definition: valid.h:540
 
static void is_null(const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message)
Validates that the pointer is null.
Definition: valid.h:2215
 
static void is_less_or_equal(const value1_t &val1, const value2_t &val2, const xtd::ustring &message)
Validates that the first value is is_less than or equal to the second value.
Definition: valid.h:1264
 
static void are_same(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two objects do refer to different objects.
Definition: valid.h:509
 
static void is_not_zero(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that ta condition is not zero.
Definition: valid.h:2051
 
static void is_not_null(const std::shared_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1860
 
static void is_empty(const value_t &value, const xtd::ustring &message)
Validates that collection contains an item.
Definition: valid.h:749
 
static void are_equal(double expected, double actual, double tolerance, const xtd::ustring &message)
Validates that two type are equal.
Definition: valid.h:240
 
static void is_positive(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that ta condition is positive.
Definition: valid.h:2366
 
static void contains(const item_t &item, const collection_t &collection)
Validates that collection contains an item.
Definition: valid.h:558
 
static void is_not_empty(const value_t &value, const xtd::ustring &message)
Validates that collection does not contain any item.
Definition: valid.h:1584
 
static void is_zero(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that ta condition is zero.
Definition: valid.h:2478
 
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)
Validates that the first value is greater than or equal to the second value.
Definition: valid.h:1028
 
static void does_not_throw(const std::function< void()> &statement, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the statement does not throw an exception.
Definition: valid.h:705
 
static void is_not_null(const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1887
 
static void is_null(const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2171
 
static void is_not_null(const std::shared_ptr< pointer_t > &pointer)
Validates that the pointer is not null.
Definition: valid.h:1847
 
static void is_null(const pointer_t *pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2113
 
static void is_less(const value1_t &val1, const value2_t &val2, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the first value is is_less than the second value.
Definition: valid.h:1178
 
static void is_not_null(const std::weak_ptr< pointer_t > &pointer)
Validates that the pointer is not null.
Definition: valid.h:1907
 
static void is_null(const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message)
Validates that the pointer is null.
Definition: valid.h:2157
 
static void is_less_or_equal(const value1_t &val1, const value2_t &val2)
Validates that the first value is is_less than or equal to the second value.
Definition: valid.h:1238
 
static void is_true(bool condition, const xtd::ustring &message)
Validates that a condition is true.
Definition: valid.h:2434
 
static void is_not_empty(const value_t &value)
Validates that collection oes not contain any item.
Definition: valid.h:1558
 
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)
Validates that the first value is is_less than or equal to the second value.
Definition: valid.h:1278
 
static void are_equal(const expected_t &expected, const actual_t &actual)
Validates that two type are equal.
Definition: valid.h:35
 
static void does_not_throw(const std::function< void()> &statement, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the statement does not throw an exception.
Definition: valid.h:682
 
static void are_equal(double expected, double actual, double tolerance, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are equal.
Definition: valid.h:227
 
static void is_null(const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message)
Validates that the pointer is null.
Definition: valid.h:2279
 
static void is_NaN(long double value, const xtd::ustring &message)
Validates that a value is NaN.
Definition: valid.h:1415
 
static void is_not_null(std::nullptr_t pointer, const xtd::ustring &message)
Validates that the pointer is not null.
Definition: valid.h:1982
 
static void is_not_null(const pointer_t *pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1742
 
static void is_NaN(long double value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that a value is NaN.
Definition: valid.h:1428
 
static void are_equal(double expected, double actual, double tolerance, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are equal.
Definition: valid.h:254
 
static void is_less(const value1_t &val1, const value2_t &val2, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the first value is is_less than the second value.
Definition: valid.h:1153
 
static void is_not_empty(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection does not contain any item.
Definition: valid.h:1598
 
static void is_null(const std::weak_ptr< pointer_t > &pointer)
Validates that the pointer is null.
Definition: valid.h:2249
 
static void are_not_equal(const expected_t &expected, const actual_t &actual)
Validates that two type are not equal.
Definition: valid.h:329
 
static void is_greater_or_equal(const value1_t &val1, const value2_t &val2, const xtd::ustring &message)
Validates that the first value is greater than or equal to the second value.
Definition: valid.h:1014
 
static void is_greater_or_equal(const value1_t &val1, const value2_t &val2)
Validates that the first value is greater than or equal to the second value.
Definition: valid.h:988
 
static void are_equal(long double expected, long double actual, long double tolerance, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are equal.
Definition: valid.h:312
 
static void is_not_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection does not contain any item.
Definition: valid.h:1571
 
static void is_true(bool condition)
Validates that ta condition is true.
Definition: valid.h:2410
 
static void contains(const item_t &item, const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains an item.
Definition: valid.h:571
 
static void are_not_same(const expected_t &expected, const actual_t &actual, const xtd::ustring &message)
Validates that two objects do refer to different objects.
Definition: valid.h:458
 
static void is_NaN(float value)
that a value is NaN.
Definition: valid.h:1445
 
static void contains(const item_t &item, const collection_t &collection, const xtd::ustring &message)
Validates that collection contains an item.
Definition: valid.h:584
 
static void are_not_same(const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two objects do refer to different objects.
Definition: valid.h:474
 
static void is_instance_of(const value_t &value, const xtd::ustring &message)
Validates that an object is of the type supplied or a derived type.
Definition: valid.h:1111
 
static void is_zero(const value_t &value)
Validates that ta condition is zero.
Definition: valid.h:2465
 
static void are_equal(const expected_t &expected, const actual_t &actual, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are equal.
Definition: valid.h:72
 
static void are_equal(double expected, double actual, double tolerance)
Validates that two type are equal.
Definition: valid.h:214
 
static void is_negative(const value_t &value, const xtd::ustring &message)
Validates that ta condition is negative.
Definition: valid.h:1526
 
static void is_greater_or_equal(const value1_t &val1, const value2_t &val2, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the first value is greater than or equal to the second value.
Definition: valid.h:1001
 
static void is_negative(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that ta condition is negative.
Definition: valid.h:1513
 
static void is_NaN(double value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that a value is NaN.
Definition: valid.h:1374
 
static void is_not_null(std::nullptr_t pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1972
 
static void is_null(const std::shared_ptr< pointer_t > &pointer)
Validates that the pointer is null.
Definition: valid.h:2189
 
static void is_not_null(const pointer_t *pointer, const xtd::ustring &message)
Validates that the pointer is not null.
Definition: valid.h:1756
 
static void is_less(const value1_t &val1, const value2_t &val2)
Validates that the first value is is_less than the second value.
Definition: valid.h:1141
 
static void is_not_instance_of(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that an object is not of the type supplied or a derived type.
Definition: valid.h:1709
 
static void are_same(const expected_t &expected, const actual_t &actual, const xtd::ustring &message)
Validates that two objects do refer to different objects.
Definition: valid.h:524
 
static void is_zero(const value_t &value, const xtd::ustring &message)
Validates that ta condition is zero.
Definition: valid.h:2491
 
static void is_NaN(long double value)
that a value is NaN.
Definition: valid.h:1391
 
static void throws_any(const std::function< void()> &statement, const xtd::ustring &message)
Validates that the statement does not throw an exception.
Definition: valid.h:2601
 
static void is_null(const pointer_t *pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2084
 
static void is_positive(const value_t &value)
Validates that ta condition is positive.
Definition: valid.h:2353
 
static void is_true(bool condition, const xtd::diagnostics::stack_frame &stack_frame)
Validates that a condition is true.
Definition: valid.h:2422
 
static void throws_any(const std::function< void()> &statement, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the statement does not throw an exception.
Definition: valid.h:2613
 
static void is_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains an item.
Definition: valid.h:736
 
static void is_less_or_equal(const value1_t &val1, const value2_t &val2, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the first value is is_less than or equal to the second value.
Definition: valid.h:1251
 
static void are_not_equal(const expected_t &expected, const actual_t &actual, const xtd::ustring &message)
Validates that two type are not equal.
Definition: valid.h:353
 
static void is_instance_of(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that an object is of the type supplied or a derived type.
Definition: valid.h:1099
 
static void is_true(bool condition, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that a condition is true.
Definition: valid.h:2447
 
static void is_not_instance_of(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that an object is not of the type supplied or a derived type.
Definition: valid.h:1684
 
static void is_not_null(const std::weak_ptr< pointer_t > &pointer, const xtd::ustring &message)
Validates that the pointer is not null.
Definition: valid.h:1937
 
static void is_empty(const value_t &value)
Validates that collection contains an item.
Definition: valid.h:723
 
static void does_not_throw(const std::function< void()> &statement, const xtd::ustring &message)
Validates that the statement does not throw an exception.
Definition: valid.h:693
 
static void is_not_null(const std::unique_ptr< pointer_t > &pointer)
Validates that the pointer is not null.
Definition: valid.h:1789
 
static void is_positive(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that ta condition is positive.
Definition: valid.h:2393
 
static void are_not_same(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two objects do refer to different objects.
Definition: valid.h:443
 
static void are_equal(long double expected, long double actual, long double tolerance, const xtd::ustring &message)
Validates that two type are equal.
Definition: valid.h:298
 
static void is_empty(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that collection contains an item.
Definition: valid.h:763
 
static void are_equal(const expected_t &expected, const actual_t &actual, const xtd::ustring &message)
Validates that two type are equal.
Definition: valid.h:59
 
static void are_not_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are not equal.
Definition: valid.h:341
 
static void is_instance_of(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that an object is of the type supplied or a derived type.
Definition: valid.h:1124
 
static void is_less(const value1_t &val1, const value2_t &val2, const xtd::ustring &message)
Validates that the first value is is_less than the second value.
Definition: valid.h:1165
 
static void are_equal(float expected, float &actual, float tolerance, const xtd::ustring &message)
Validates that two type are equal.
Definition: valid.h:182
 
static void is_null(std::nullptr_t pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2341
 
static void is_instance_of(const value_t &value)
Validates that an object is of the type supplied or a derived type.
Definition: valid.h:1087
 
static void is_null(const std::shared_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2202
 
static void is_not_instance_of(const value_t &value, const xtd::ustring &message)
Validates that an object is not of the type supplied or a derived type.
Definition: valid.h:1696
 
static void is_null(std::nullptr_t pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2320
 
static void is_NaN(double value, const xtd::ustring &message)
Validates that a value is NaN.
Definition: valid.h:1361
 
static void is_not_null(std::nullptr_t pointer, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is not null.
Definition: valid.h:1993
 
static void are_not_same(const expected_t &expected, const actual_t &actual)
Validates that two objects do refer to different objects.
Definition: valid.h:428
 
static void does_not_throw(const std::function< void()> &statement)
Validates that the statement does not throw an exception.
Definition: valid.h:671
 
static void are_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame)
Validates that two type are equal.
Definition: valid.h:47
 
static void are_equal(long double expected, long double actual, long double tolerance)
Validates that two type are equal.
Definition: valid.h:272
 
static void is_not_zero(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame)
Validates that ta condition is not zero.
Definition: valid.h:2024
 
static void throws_any(const std::function< void()> &statement, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the statement does not throw an exception.
Definition: valid.h:2590
 
static void are_same(const expected_t &expected, const actual_t &actual)
Validates that two objects do refer to different objects.
Definition: valid.h:494
 
static void is_not_null(std::nullptr_t pointer)
Validates that the pointer is not null.
Definition: valid.h:1962
 
static void is_negative(const value_t &value)
Validates that ta condition is negative.
Definition: valid.h:1500
 
static void is_not_null(const pointer_t *pointer)
Validates that the pointer is not null.
Definition: valid.h:1728
 
static void is_not_null(const std::shared_ptr< pointer_t > &pointer, const xtd::ustring &message)
Validates that the pointer is not null.
Definition: valid.h:1873
 
static void is_null(const std::unique_ptr< pointer_t > &pointer, const xtd::diagnostics::stack_frame &stack_frame)
Validates that the pointer is null.
Definition: valid.h:2144
 
static void is_not_null(const std::unique_ptr< pointer_t > &pointer, const xtd::ustring &message)
Validates that the pointer is not null.
Definition: valid.h:1815
 
static void is_zero(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that ta condition is zero.
Definition: valid.h:2505
 
static void is_negative(const value_t &value, const xtd::ustring &message, const xtd::diagnostics::stack_frame &stack_frame)
Validates that ta condition is negative.
Definition: valid.h:1540
 
static void is_null(const pointer_t *pointer, const xtd::ustring &message)
Validates that the pointer is null.
Definition: valid.h:2098
 
static void is_null(std::nullptr_t pointer, const xtd::ustring &message)
Validates that the pointer is null.
Definition: valid.h:2330
 
static void is_NaN(float value, const xtd::ustring &message)
Validates that a value is NaN.
Definition: valid.h:1469
 
static void is_NaN(double value)
that a value is NaN.
Definition: valid.h:1337
 
static void is_NaN(long double value, const xtd::diagnostics::stack_frame &stack_frame)
that a value is NaN.
Definition: valid.h:1403
 
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