xtd 0.2.0
collection_assert.h File Reference
#include "assert.h"

Definition

Contains xtd::tunit::collection_assert class.

Include dependency graph for collection_assert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  xtd::tunit::collection_assert
 The collection_assert class contains a collection of static methods that implement the most collection assertions used in xtd::tUnit. More...
 

Namespaces

 xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 
 xtd::tunit
 The tunit namespace contains a unit test library.
 

Macros

#define all_items_are_instances_of_(type_t, ...)   __CMD_ASSERT_ARGS(all_items_are_instances_of<type_t>, __VA_ARGS__)
 Asserts that all collection items are of the type supplied or a derived type. More...
 
#define all_items_are_not_null_(...)   __CMD_ASSERT_ARGS(all_items_are_not_null, __VA_ARGS__)
 Asserts that all collection items are not null. More...
 
#define all_items_are_unique_(...)   __CMD_ASSERT_ARGS(all_items_are_unique, __VA_ARGS__)
 Asserts that all collection items are unique. More...
 
#define are_equivalent_(...)   __CMD_ASSERT_ARGS(are_equivalent, __VA_ARGS__)
 Asserts that all collection items are equivalent. More...
 
#define are_not_equivalent_(...)   __CMD_ASSERT_ARGS(are_not_equivalent, __VA_ARGS__)
 Asserts that all collection items are equivalent. More...
 
#define is_ordered_(...)   __CMD_ASSERT_ARGS(is_ordered, __VA_ARGS__)
 Asserts that collection is ordered. More...