|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Functions | |
| void | expect_array_eq (const Array< size_t > &a, std::initializer_list< size_t > expected) |
| Assert that an Aleph::Array contains exactly the elements in an initializer_list. | |
|
inline |
Assert that an Aleph::Array contains exactly the elements in an initializer_list.
Performs equality checks between each element of the array and the corresponding element in the expected list.
| [in] | a | The Aleph::Array to check. |
| [in] | expected | Initializer list of expected values. |
Definition at line 52 of file test_helpers.H.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::Array< T >::size().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().