42      template<
typename expected_t, 
typename collection_t>
 
   55      template<
typename expected_t, 
typename collection_t>
 
   58          collection_assert::all_items_are_instances_of<expected_t>(collection, message, stack_frame);
 
   65      template<
typename expected_t, 
typename item_t>
 
   67      template<
typename expected_t, 
typename item_t>
 
   70          collection_assert::all_items_are_instances_of<expected_t>(collection, message, stack_frame);
 
   90      template<
typename collection_t>
 
  105      template<
typename collection_t>
 
  108          collection_assert::all_items_are_not_null(collection, message, stack_frame);
 
  115      template<
typename item_t>
 
  117      template<
typename item_t>
 
  120          collection_assert::all_items_are_not_null(collection, message, stack_frame);
 
  139      template<
typename collection_t>
 
  153      template<
typename collection_t>
 
  156          collection_assert::all_items_are_unique(collection, message, stack_frame);
 
  163      template<
typename item_t>
 
  165      template<
typename item_t>
 
  168          collection_assert::all_items_are_unique(collection, message, stack_frame);
 
  186      template<
typename expected_t, 
typename actual_t>
 
  199      template<
typename expected_t, 
typename actual_t>
 
  202          collection_assert::are_equal(expected, actual, message, stack_frame);
 
  209      template<
typename item_t>
 
  211      template<
typename item_t>
 
  214          collection_assert::are_equal(expected, actual, message, stack_frame);
 
  219      template<
typename collection_t, 
typename item_t>
 
  221      template<
typename collection_t, 
typename item_t>
 
  224          collection_assert::are_equal(expected, actual, message, stack_frame);
 
  229      template<
typename item_t, 
typename collection_t>
 
  231      template<
typename item_t, 
typename collection_t>
 
  234          collection_assert::are_equal(expected, actual, message, stack_frame);
 
  252      template<
typename expected_t, 
typename actual_t>
 
  265      template<
typename expected_t, 
typename actual_t>
 
  268          collection_assert::are_equivalent(expected, actual, message, stack_frame);
 
  275      template<
typename expected_t, 
typename actual_t>
 
  277      template<
typename expected_t, 
typename actual_t>
 
  280          collection_assert::are_equivalent(expected, actual, message, stack_frame);
 
  285      template<
typename collection_t, 
typename item_t>
 
  287      template<
typename collection_t, 
typename item_t>
 
  290          collection_assert::are_equivalent(expected, actual, message, stack_frame);
 
  295      template<
typename item_t, 
typename collection_t>
 
  297      template<
typename item_t, 
typename collection_t>
 
  300          collection_assert::are_equivalent(expected, actual, message, stack_frame);
 
  318      template<
typename expected_t, 
typename actual_t>
 
  331      template<
typename expected_t, 
typename actual_t>
 
  334          collection_assert::are_not_equal(expected, actual, message, stack_frame);
 
  341      template<
typename item_t>
 
  343      template<
typename item_t>
 
  346          collection_assert::are_not_equal(expected, actual, message, stack_frame);
 
  351      template<
typename collection_t, 
typename item_t>
 
  353      template<
typename collection_t, 
typename item_t>
 
  356          collection_assert::are_not_equal(expected, actual, message, stack_frame);
 
  361      template<
typename item_t, 
typename collection_t>
 
  363      template<
typename item_t, 
typename collection_t>
 
  366          collection_assert::are_not_equal(expected, actual, message, stack_frame);
 
  384      template<
typename expected_t, 
typename actual_t>
 
  397      template<
typename expected_t, 
typename actual_t>
 
  400          collection_assert::are_not_equivalent(expected, actual, message, stack_frame);
 
  407      template<
typename expected_t, 
typename actual_t>
 
  409      template<
typename expected_t, 
typename actual_t>
 
  412          collection_assert::are_not_equivalent(expected, actual, message, stack_frame);
 
  417      template<
typename collection_t, 
typename item_t>
 
  419      template<
typename collection_t, 
typename item_t>
 
  422          collection_assert::are_not_equivalent(expected, actual, message, stack_frame);
 
  427      template<
typename item_t, 
typename collection_t>
 
  429      template<
typename item_t, 
typename collection_t>
 
  432          collection_assert::are_not_equivalent(expected, actual, message, stack_frame);
 
  450      template<
typename expected_t, 
typename actual_t>
 
  463      template<
typename expected_t, 
typename actual_t>
 
  466          collection_assert::contains(expected, actual, message, stack_frame);
 
  473      template<
typename item_t>
 
  475      template<
typename item_t>
 
  478          collection_assert::contains(expected, actual, message, stack_frame);
 
  483      template<
typename collection_t, 
typename item_t>
 
  485      template<
typename collection_t, 
typename item_t>
 
  488          collection_assert::contains(expected, actual, message, stack_frame);
 
  493      template<
typename item_t, 
typename collection_t>
 
  495      template<
typename item_t, 
typename collection_t>
 
  498          collection_assert::contains(expected, actual, message, stack_frame);
 
  516      template<
typename expected_t, 
typename actual_t>
 
  529      template<
typename expected_t, 
typename actual_t>
 
  532          collection_assert::does_not_contain(expected, actual, message, stack_frame);
 
  539      template<
typename item_t>
 
  541      template<
typename item_t>
 
  544          collection_assert::does_not_contain(expected, actual, message, stack_frame);
 
  549      template<
typename collection_t, 
typename item_t>
 
  551      template<
typename collection_t, 
typename item_t>
 
  554          collection_assert::does_not_contain(expected, actual, message, stack_frame);
 
  559      template<
typename item_t, 
typename collection_t>
 
  561      template<
typename item_t, 
typename collection_t>
 
  564          collection_assert::does_not_contain(expected, actual, message, stack_frame);
 
  582      template<
typename value_t>
 
  596      template<
typename value_t>
 
  599          collection_assert::is_empty(value, message, stack_frame);
 
  606      template<
typename value_t>
 
  608      template<
typename value_t>
 
  611          collection_assert::is_empty(value, message, stack_frame);
 
  629      template<
typename value_t>
 
  643      template<
typename value_t>
 
  646          collection_assert::is_not_empty(value, message, stack_frame);
 
  653      template<
typename value_t>
 
  655      template<
typename value_t>
 
  658          collection_assert::is_not_empty(value, message, stack_frame);
 
  676      template<
typename value_t>
 
  690      template<
typename value_t>
 
  693          collection_assert::is_ordered(value, message, stack_frame);
 
  700      template<
typename value_t>
 
  702      template<
typename value_t>
 
  705          collection_assert::is_ordered(value, message, stack_frame);
 
Contains xtd::tunit::assume class.
 
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.hpp:124
 
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.hpp:47
 
static stack_frame current(const xtd::source_location &value=xtd::source_location::current()) noexcept
Crates a new xtd::diagnostics::stack_frame object corresponding to the location of the call site.
 
The base class for assert.
Definition base_assert.hpp:29
 
The collection_assume class contains a collection of static methods that implement the most collectio...
Definition collection_assume.hpp:22
 
static void is_ordered(const value_t &value, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection is ordered.
Definition collection_assume.hpp:691
 
static void are_not_equal(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items arenot equal.
Definition collection_assume.hpp:332
 
static void is_not_empty(const value_t &value, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection or traits does not contain any item.
Definition collection_assume.hpp:644
 
static void are_not_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are not equal.
Definition collection_assume.hpp:319
 
static void are_equivalent(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are equivalent.
Definition collection_assume.hpp:253
 
static void is_empty(const value_t &value, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection contains an item.
Definition collection_assume.hpp:597
 
static void contains(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection contains all items.
Definition collection_assume.hpp:451
 
static void does_not_contain(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection contains all items.
Definition collection_assume.hpp:530
 
static void all_items_are_unique(const collection_t &collection, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are unique.
Definition collection_assume.hpp:154
 
static void does_not_contain(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection contains all items.
Definition collection_assume.hpp:517
 
static void are_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are equivalent.
Definition collection_assume.hpp:266
 
static void is_not_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection or traits does not contain any item.
Definition collection_assume.hpp:630
 
static void all_items_are_instances_of(const collection_t &collection, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are of the type supplied or a derived type.
Definition collection_assume.hpp:56
 
static void are_not_equivalent(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are not equivalent.
Definition collection_assume.hpp:398
 
static void are_equal(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are equal.
Definition collection_assume.hpp:200
 
static void are_equal(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are equal.
Definition collection_assume.hpp:187
 
static void all_items_are_not_null(const collection_t &collection, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are not null.
Definition collection_assume.hpp:106
 
static void is_ordered(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection is ordered.
Definition collection_assume.hpp:677
 
static void contains(const expected_t &expected, const actual_t &actual, const std::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection contains all items.
Definition collection_assume.hpp:464
 
static void is_empty(const value_t &value, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that collection contains an item.
Definition collection_assume.hpp:583
 
static void all_items_are_instances_of(const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are of the type supplied or a derived type.
Definition collection_assume.hpp:43
 
static void all_items_are_not_null(const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are not null.
Definition collection_assume.hpp:91
 
static void all_items_are_unique(const collection_t &collection, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are unique.
Definition collection_assume.hpp:140
 
static void are_not_equivalent(const expected_t &expected, const actual_t &actual, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Assumes that all collection items are not equivalent.
Definition collection_assume.hpp:385
 
Contains xtd::tunit::collection_assert class.
 
#define tunit_export_
Define shared library export.
Definition tunit_export.hpp:13
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10