|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Comprehensive test suite for ah-stl-utils.H. More...
#include <gtest/gtest.h>#include <list>#include <vector>#include <set>#include <string>#include <tuple>#include <ah-stl-utils.H>#include <ahFunctional.H>Go to the source code of this file.
Functions | |
| TEST (VectorToDynList, EmptyVector) | |
| TEST (VectorToDynList, SingleElement) | |
| TEST (VectorToDynList, MultipleElements) | |
| TEST (VectorToDynList, StringVector) | |
| TEST (VectorToDynList, ToListAlias) | |
| TEST (RangeToDynList, VectorIterators) | |
| TEST (RangeToDynList, PartialRange) | |
| TEST (RangeToDynList, EmptyRange) | |
| TEST (RangeToDynList, ListIterators) | |
| TEST (ToArray, EmptyVector) | |
| TEST (ToArray, MultipleElements) | |
| TEST (ToVector, FromDynList) | |
| TEST (ToVector, EmptyDynList) | |
| TEST (ToVector, FromDynSetTree) | |
| TEST (MapVector, SquareElements) | |
| TEST (MapVector, TypeConversion) | |
| TEST (MapVector, EmptyVector) | |
| TEST (VariadicToVector, MultipleInts) | |
| TEST (VariadicToVector, SingleElement) | |
| TEST (VariadicToVector, MixedConvertibleTypes) | |
| TEST (VariadicToDynList, MultipleElements) | |
| TEST (VariadicToDynList, Strings) | |
| TEST (TupleForEach, SumElements) | |
| TEST (TupleForEach, CollectStrings) | |
| TEST (TupleForEach, EmptyTuple) | |
| TEST (TupleForEach, SingleElement) | |
| TEST (TupleToDynList, HomogeneousTuple) | |
| TEST (TupleToDynList, SingleElement) | |
| TEST (TupleToDynList, StringTuple) | |
| TEST (TupleToArray, HomogeneousTuple) | |
| TEST (StlContainerToDynList, FromStdVector) | |
| TEST (StlContainerToDynList, FromStdList) | |
| TEST (StlContainerToDynList, FromStdSet) | |
| TEST (StlContainerToDynList, Empty) | |
| TEST (ListConversions, ListToDynList) | |
| TEST (ListConversions, DynListToList) | |
| TEST (ListConversions, RoundTrip) | |
| TEST (ListConversions, Empty) | |
| TEST (DynArrayConversions, DynArrayToVector) | |
| TEST (DynArrayConversions, VectorToDynArray) | |
| TEST (DynArrayConversions, RoundTrip) | |
| TEST (DynArrayConversions, Empty) | |
| TEST (IndexTuple, MakeIndexTuple) | |
| TEST (IndexTuple, ToIndexTuple) | |
| TEST (EdgeCases, LargeVector) | |
| TEST (EdgeCases, ComplexType) | |
| TEST (EdgeCases, NestedContainers) | |
| TEST (EdgeCases, CopySemantics) | |
Comprehensive test suite for ah-stl-utils.H.
Tests all conversion functions between Aleph-w containers and STL containers, tuple utilities, and variadic helpers.
Definition in file ah-stl-utils.cc.
| TEST | ( | DynArrayConversions | , |
| DynArrayToVector | |||
| ) |
Definition at line 392 of file ah-stl-utils.cc.
References Aleph::DynArray< T >::append(), Aleph::DynArray_to_vector(), and Aleph::maps().
| TEST | ( | DynArrayConversions | , |
| Empty | |||
| ) |
Definition at line 426 of file ah-stl-utils.cc.
References Aleph::DynArray_to_vector(), Aleph::DynList< T >::empty(), Aleph::maps(), and Aleph::vector_to_DynArray().
| TEST | ( | DynArrayConversions | , |
| RoundTrip | |||
| ) |
Definition at line 418 of file ah-stl-utils.cc.
References Aleph::DynArray_to_vector(), Aleph::maps(), and Aleph::vector_to_DynArray().
| TEST | ( | DynArrayConversions | , |
| VectorToDynArray | |||
| ) |
Definition at line 408 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::vector_to_DynArray().
| TEST | ( | EdgeCases | , |
| ComplexType | |||
| ) |
Definition at line 483 of file ah-stl-utils.cc.
References Aleph::maps(), Point::operator==(), Aleph::HTList::size(), Aleph::to_vector(), Aleph::vector_to_DynList(), Point::x, and Point::y.
| TEST | ( | EdgeCases | , |
| CopySemantics | |||
| ) |
Definition at line 510 of file ah-stl-utils.cc.
References Aleph::DynList< T >::get_first(), Aleph::maps(), Aleph::HTList::size(), and Aleph::vector_to_DynList().
| TEST | ( | EdgeCases | , |
| LargeVector | |||
| ) |
Definition at line 467 of file ah-stl-utils.cc.
References Aleph::maps(), N, Aleph::to_vector(), and Aleph::vector_to_DynList().
| TEST | ( | EdgeCases | , |
| NestedContainers | |||
| ) |
Definition at line 500 of file ah-stl-utils.cc.
References Aleph::maps(), Aleph::HTList::size(), Aleph::to_vector(), and Aleph::vector_to_DynList().
| TEST | ( | IndexTuple | , |
| MakeIndexTuple | |||
| ) |
Definition at line 440 of file ah-stl-utils.cc.
References Aleph::maps().
| TEST | ( | IndexTuple | , |
| ToIndexTuple | |||
| ) |
Definition at line 456 of file ah-stl-utils.cc.
References Aleph::maps().
| TEST | ( | ListConversions | , |
| DynListToList | |||
| ) |
Definition at line 358 of file ah-stl-utils.cc.
References Aleph::DynList_to_list(), and Aleph::maps().
| TEST | ( | ListConversions | , |
| Empty | |||
| ) |
Definition at line 377 of file ah-stl-utils.cc.
References Aleph::DynList_to_list(), Aleph::DynList< T >::empty(), Aleph::list_to_DynList(), and Aleph::maps().
| TEST | ( | ListConversions | , |
| ListToDynList | |||
| ) |
Definition at line 350 of file ah-stl-utils.cc.
References l, Aleph::list_to_DynList(), and Aleph::maps().
| TEST | ( | ListConversions | , |
| RoundTrip | |||
| ) |
Definition at line 369 of file ah-stl-utils.cc.
References Aleph::DynList_to_list(), Aleph::list_to_DynList(), and Aleph::maps().
| TEST | ( | MapVector | , |
| EmptyVector | |||
| ) |
Definition at line 186 of file ah-stl-utils.cc.
References Aleph::map_vector(), and Aleph::maps().
| TEST | ( | MapVector | , |
| SquareElements | |||
| ) |
Definition at line 164 of file ah-stl-utils.cc.
References Aleph::map_vector(), and Aleph::maps().
| TEST | ( | MapVector | , |
| TypeConversion | |||
| ) |
Definition at line 176 of file ah-stl-utils.cc.
References Aleph::map_vector(), Aleph::maps(), and Aleph::to_string().
| TEST | ( | RangeToDynList | , |
| EmptyRange | |||
| ) |
Definition at line 88 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::range_to_DynList().
| TEST | ( | RangeToDynList | , |
| ListIterators | |||
| ) |
Definition at line 95 of file ah-stl-utils.cc.
References StlAlephIterator< SetName >::begin(), StlAlephIterator< SetName >::end(), l, Aleph::maps(), and Aleph::range_to_DynList().
| TEST | ( | RangeToDynList | , |
| PartialRange | |||
| ) |
Definition at line 80 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::range_to_DynList().
| TEST | ( | RangeToDynList | , |
| VectorIterators | |||
| ) |
Definition at line 72 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::range_to_DynList().
| TEST | ( | StlContainerToDynList | , |
| Empty | |||
| ) |
Definition at line 339 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::stl_container_to_dynList().
| TEST | ( | StlContainerToDynList | , |
| FromStdList | |||
| ) |
Definition at line 323 of file ah-stl-utils.cc.
References l, Aleph::maps(), and Aleph::stl_container_to_dynList().
| TEST | ( | StlContainerToDynList | , |
| FromStdSet | |||
| ) |
Definition at line 331 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::stl_container_to_dynList().
| TEST | ( | StlContainerToDynList | , |
| FromStdVector | |||
| ) |
Definition at line 315 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::stl_container_to_dynList().
| TEST | ( | ToArray | , |
| EmptyVector | |||
| ) |
Definition at line 107 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::to_Array().
| TEST | ( | ToArray | , |
| MultipleElements | |||
| ) |
Definition at line 114 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::to_Array().
| TEST | ( | ToVector | , |
| EmptyDynList | |||
| ) |
Definition at line 139 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::to_vector().
| TEST | ( | ToVector | , |
| FromDynList | |||
| ) |
Definition at line 128 of file ah-stl-utils.cc.
References l, Aleph::maps(), and Aleph::to_vector().
| TEST | ( | ToVector | , |
| FromDynSetTree | |||
| ) |
Definition at line 146 of file ah-stl-utils.cc.
References Aleph::DynSetTree< Key, Tree, Compare >::insert(), Aleph::maps(), and Aleph::to_vector().
| TEST | ( | TupleForEach | , |
| CollectStrings | |||
| ) |
Definition at line 248 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::tuple_for_each().
| TEST | ( | TupleForEach | , |
| EmptyTuple | |||
| ) |
Definition at line 256 of file ah-stl-utils.cc.
References Aleph::count(), Aleph::maps(), and Aleph::tuple_for_each().
| TEST | ( | TupleForEach | , |
| SingleElement | |||
| ) |
Definition at line 264 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::tuple_for_each().
| TEST | ( | TupleForEach | , |
| SumElements | |||
| ) |
Definition at line 240 of file ah-stl-utils.cc.
References Aleph::maps(), Aleph::sum(), and Aleph::tuple_for_each().
| TEST | ( | TupleToArray | , |
| HomogeneousTuple | |||
| ) |
Definition at line 301 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::tuple_to_array().
| TEST | ( | TupleToDynList | , |
| HomogeneousTuple | |||
| ) |
Definition at line 276 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::tuple_to_dynlist().
| TEST | ( | TupleToDynList | , |
| SingleElement | |||
| ) |
Definition at line 284 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::tuple_to_dynlist().
| TEST | ( | TupleToDynList | , |
| StringTuple | |||
| ) |
Definition at line 292 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::tuple_to_dynlist().
| TEST | ( | VariadicToDynList | , |
| MultipleElements | |||
| ) |
Definition at line 222 of file ah-stl-utils.cc.
References Aleph::maps().
| TEST | ( | VariadicToDynList | , |
| Strings | |||
| ) |
Definition at line 229 of file ah-stl-utils.cc.
References Aleph::maps().
| TEST | ( | VariadicToVector | , |
| MixedConvertibleTypes | |||
| ) |
Definition at line 212 of file ah-stl-utils.cc.
References Aleph::maps().
| TEST | ( | VariadicToVector | , |
| MultipleInts | |||
| ) |
Definition at line 197 of file ah-stl-utils.cc.
References Aleph::maps().
| TEST | ( | VariadicToVector | , |
| SingleElement | |||
| ) |
Definition at line 205 of file ah-stl-utils.cc.
References Aleph::maps().
| TEST | ( | VectorToDynList | , |
| EmptyVector | |||
| ) |
Definition at line 27 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::vector_to_DynList().
| TEST | ( | VectorToDynList | , |
| MultipleElements | |||
| ) |
Definition at line 43 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::vector_to_DynList().
| TEST | ( | VectorToDynList | , |
| SingleElement | |||
| ) |
Definition at line 35 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::vector_to_DynList().
| TEST | ( | VectorToDynList | , |
| StringVector | |||
| ) |
Definition at line 51 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::vector_to_DynList().
| TEST | ( | VectorToDynList | , |
| ToListAlias | |||
| ) |
Definition at line 60 of file ah-stl-utils.cc.
References Aleph::maps(), and Aleph::to_DynList().