|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Ah Dry Mixin. More...
#include <gtest/gtest.h>#include <vector>#include <string>#include <htlist.H>#include <ah-dry-mixin.H>#include <tpl_array.H>#include <tpl_dynArray.H>Go to the source code of this file.
Classes | |
| class | MixinVector< T > |
| Simple test container using std::vector internally but with Aleph mixins. More... | |
| class | MixinVector< T >::Iterator |
| struct | Person |
| struct | NoOpType |
| struct | EqOnlyType |
| struct | LtOnlyType |
Functions | |
| TEST (TraverseMixin, BasicTraverse) | |
| TEST (TraverseMixin, TraverseEarlyStop) | |
| TEST (TraverseMixin, TraverseEmpty) | |
| TEST (FunctionalMixin, ForEach) | |
| TEST (FunctionalMixin, MutableForEach) | |
| TEST (FunctionalMixin, AllPredicate) | |
| TEST (FunctionalMixin, AllEmpty) | |
| TEST (FunctionalMixin, ExistsPredicate) | |
| TEST (FunctionalMixin, ExistsEmpty) | |
| TEST (FunctionalMixin, Maps) | |
| TEST (FunctionalMixin, MapsTypeConversion) | |
| TEST (FunctionalMixin, Filter) | |
| TEST (FunctionalMixin, FilterNone) | |
| TEST (FunctionalMixin, Foldl) | |
| TEST (FunctionalMixin, FoldlEmpty) | |
| TEST (FunctionalMixin, Partition) | |
| TEST (FunctionalMixin, Length) | |
| TEST (FunctionalMixin, Rev) | |
| TEST (FunctionalMixin, Take) | |
| TEST (FunctionalMixin, Drop) | |
| TEST (LocateMixin, Nth) | |
| TEST (LocateMixin, NthNe) | |
| TEST (LocateMixin, NthModify) | |
| TEST (LocateMixin, FindPtr) | |
| TEST (LocateMixin, FindPtrModify) | |
| TEST (LocateMixin, FindItem) | |
| TEST (KeysMixin, Keys) | |
| TEST (KeysMixin, Items) | |
| TEST (ChainedOps, FilterThenMap) | |
| TEST (ChainedOps, MapThenFold) | |
| TEST (ComplexTypes, StructOperations) | |
| TEST (FunctionalMixin, Sum) | |
| TEST (FunctionalMixin, SumEmpty) | |
| TEST (FunctionalMixin, SumStrings) | |
| TEST (FunctionalMixin, Product) | |
| TEST (FunctionalMixin, ProductEmpty) | |
| TEST (FunctionalMixin, Min) | |
| TEST (FunctionalMixin, MinEmpty) | |
| TEST (FunctionalMixin, MinSingle) | |
| TEST (FunctionalMixin, Max) | |
| TEST (FunctionalMixin, MaxEmpty) | |
| TEST (FunctionalMixin, MaxSingle) | |
| TEST (FunctionalMixin, MinByCustomComparator) | |
| TEST (FunctionalMixin, MaxByCustomComparator) | |
| TEST (FunctionalMixin, MinMaxWithNegatives) | |
| TEST (FunctionalMixin, HasValue) | |
| TEST (FunctionalMixin, HasValueEmpty) | |
| TEST (FunctionalMixin, HasValueStrings) | |
| TEST (FunctionalMixin, None) | |
| TEST (FunctionalMixin, NoneEmpty) | |
| TEST (FunctionalMixin, NoneLValuePredicate) | |
| TEST (FunctionalMixin, CountIf) | |
| TEST (FunctionalMixin, CountIfEmpty) | |
| TEST (FunctionalMixin, First) | |
| TEST (FunctionalMixin, FirstEmpty) | |
| TEST (FunctionalMixin, FirstOr) | |
| TEST (FunctionalMixin, Last) | |
| TEST (FunctionalMixin, LastEmpty) | |
| TEST (FunctionalMixin, LastOr) | |
| TEST (FunctionalMixin, FirstLastSingleElement) | |
| TEST (FunctionalMixin, Enumerate) | |
| TEST (FunctionalMixin, EnumerateEmpty) | |
| TEST (FunctionalMixin, FindIndex) | |
| TEST (FunctionalMixin, FindIndexEmpty) | |
| TEST (FunctionalMixin, IndexOf) | |
| TEST (FunctionalMixin, IndexOfStrings) | |
| TEST (ChainedOps, SumAfterFoldl) | |
| TEST (ChainedOps, MinMaxOnMixinVector) | |
| TEST (ChainedOps, EnumerateThenCountElements) | |
| TEST (StressTest, LargeContainer) | |
| TEST (StressTest, LargeEnumerate) | |
| TEST (ConstraintTest, MethodsWithoutConstraintsWork) | |
| TEST (ConstraintTest, EqualityOnlyType) | |
| TEST (ConstraintTest, LessThanOnlyType) | |
| TEST (FunctionalMixin, Unique) | |
| TEST (FunctionalMixin, UniqueEmpty) | |
| TEST (FunctionalMixin, UniqueSingleElement) | |
| TEST (FunctionalMixin, UniqueNoDuplicates) | |
| TEST (FunctionalMixin, UniqueBy) | |
| TEST (FunctionalMixin, Intersperse) | |
| TEST (FunctionalMixin, IntersperseEmpty) | |
| TEST (FunctionalMixin, IntersperseSingleElement) | |
| TEST (FunctionalMixin, IntersperseStrings) | |
| TEST (FunctionalMixin, Chunk) | |
| TEST (FunctionalMixin, ChunkExactDivision) | |
| TEST (FunctionalMixin, ChunkEmpty) | |
| TEST (FunctionalMixin, ChunkSizeZero) | |
| TEST (FunctionalMixin, ChunkLargerThanContainer) | |
| TEST (FunctionalMixin, Sliding) | |
| TEST (FunctionalMixin, SlidingWithStep) | |
| TEST (FunctionalMixin, SlidingEmpty) | |
| TEST (FunctionalMixin, SlidingSizeZero) | |
| TEST (FunctionalMixin, SlidingLargerThanContainer) | |
| TEST (FunctionalMixin, ToVector) | |
| TEST (FunctionalMixin, ToVectorEmpty) | |
| TEST (FunctionalMixin, ToDynlist) | |
| TEST (FunctionalMixin, ToDynlistEmpty) | |
| TEST (FunctionalMixin, ToDynlistRoundTrip) | |
| TEST (FunctionalMixin, Join) | |
| TEST (FunctionalMixin, JoinSingleElement) | |
| TEST (FunctionalMixin, JoinEmpty) | |
| TEST (FunctionalMixin, JoinStr) | |
| TEST (FunctionalMixin, JoinStrEmpty) | |
| TEST (FunctionalMixin, ZipWith) | |
| TEST (FunctionalMixin, ZipWithDifferentLengths) | |
| TEST (FunctionalMixin, ZipWithEmpty) | |
| TEST (FunctionalMixin, ZipWithBothEmpty) | |
| TEST (ChainedOps, UniqueVerify) | |
| TEST (ChainedOps, ChunkAndSum) | |
| TEST (DynListIntegration, ExistingMethodsWork) | |
| static Array< int > | make_array (std::initializer_list< int > vals) |
| static DynArray< int > | make_dynarray (std::initializer_list< int > vals) |
| TEST (EqualSequenceMethod, SizeMismatchReturnsFalse) | |
| TEST (EqualSequenceMethod, SelfComparisonReturnsTrue) | |
| TEST (EqualSequenceMethod, SameElementsDifferentOrderReturnsFalse) | |
| TEST (EqualSequenceMethod, DuplicateMultiplicityDifferenceReturnsFalse) | |
| TEST (EqualSequenceMethod, EqualContainersReturnTrue) | |
| TEST (EqualSequenceMethod, EmptyContainersAreEqual) | |
| TEST (EqualSequenceMethod, SingleElement) | |
| TEST (EqualSequenceMethod, LargeInputs) | |
Tests for Ah Dry Mixin.
Definition in file ah-dry-mixin_test.cc.
|
static |
Definition at line 1386 of file ah-dry-mixin_test.cc.
References Aleph::Array< T >::append(), and Aleph::divide_and_conquer_partition_dp().
|
static |
Definition at line 1395 of file ah-dry-mixin_test.cc.
References Aleph::DynArray< T >::append(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | ChainedOps | , |
| ChunkAndSum | |||
| ) |
Definition at line 1337 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), Aleph::divide_and_conquer_partition_dp(), and FunctionalMethods< Container, T >::foldl().
| TEST | ( | ChainedOps | , |
| EnumerateThenCountElements | |||
| ) |
Definition at line 822 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::enumerate().
| TEST | ( | ChainedOps | , |
| FilterThenMap | |||
| ) |
Definition at line 425 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::filter(), and FunctionalMethods< Container, T >::maps().
| TEST | ( | ChainedOps | , |
| MapThenFold | |||
| ) |
Definition at line 440 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::maps(), and Aleph::sum().
| TEST | ( | ChainedOps | , |
| MinMaxOnMixinVector | |||
| ) |
Definition at line 814 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::max(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | ChainedOps | , |
| SumAfterFoldl | |||
| ) |
Definition at line 801 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::filter(), Aleph::sum(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | ChainedOps | , |
| UniqueVerify | |||
| ) |
Definition at line 1324 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | ComplexTypes | , |
| StructOperations | |||
| ) |
Definition at line 462 of file ah-dry-mixin_test.cc.
References Person::age, MixinVector< T >::append(), Aleph::divide_and_conquer_partition_dp(), Person::name, and Aleph::sum().
| TEST | ( | ConstraintTest | , |
| EqualityOnlyType | |||
| ) |
Definition at line 951 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::has_value(), and Aleph::FunctionalMixin< Derived, Type >::index_of().
| TEST | ( | ConstraintTest | , |
| LessThanOnlyType | |||
| ) |
Definition at line 975 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::max(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | ConstraintTest | , |
| MethodsWithoutConstraintsWork | |||
| ) |
Definition at line 912 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), Aleph::FunctionalMixin< Derived, Type >::count_if(), Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::enumerate(), Aleph::FunctionalMixin< Derived, Type >::find_index(), Aleph::FunctionalMixin< Derived, Type >::first(), Aleph::FunctionalMixin< Derived, Type >::last(), and Aleph::FunctionalMixin< Derived, Type >::length().
| TEST | ( | DynListIntegration | , |
| ExistingMethodsWork | |||
| ) |
Definition at line 1356 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::all(), Aleph::DynList< T >::append(), Aleph::divide_and_conquer_partition_dp(), FunctionalMethods< Container, T >::exists(), FunctionalMethods< Container, T >::filter(), FunctionalMethods< Container, T >::foldl(), and Aleph::sum().
| TEST | ( | EqualSequenceMethod | , |
| DuplicateMultiplicityDifferenceReturnsFalse | |||
| ) |
Definition at line 1455 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), EqualSequenceMethod< Container >::equal_to(), make_array(), and make_dynarray().
| TEST | ( | EqualSequenceMethod | , |
| EmptyContainersAreEqual | |||
| ) |
Definition at line 1491 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and EqualSequenceMethod< Container >::equal_to().
| TEST | ( | EqualSequenceMethod | , |
| EqualContainersReturnTrue | |||
| ) |
Definition at line 1473 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), EqualSequenceMethod< Container >::equal_to(), make_array(), and make_dynarray().
| TEST | ( | EqualSequenceMethod | , |
| LargeInputs | |||
| ) |
Definition at line 1525 of file ah-dry-mixin_test.cc.
References Aleph::DynArray< T >::append(), Aleph::Array< T >::append(), Aleph::divide_and_conquer_partition_dp(), EqualSequenceMethod< Container >::equal_to(), and N.
| TEST | ( | EqualSequenceMethod | , |
| SameElementsDifferentOrderReturnsFalse | |||
| ) |
Definition at line 1437 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), EqualSequenceMethod< Container >::equal_to(), make_array(), and make_dynarray().
| TEST | ( | EqualSequenceMethod | , |
| SelfComparisonReturnsTrue | |||
| ) |
Definition at line 1423 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), EqualSequenceMethod< Container >::equal_to(), make_array(), and make_dynarray().
| TEST | ( | EqualSequenceMethod | , |
| SingleElement | |||
| ) |
Definition at line 1504 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and EqualSequenceMethod< Container >::equal_to().
| TEST | ( | EqualSequenceMethod | , |
| SizeMismatchReturnsFalse | |||
| ) |
Definition at line 1403 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), EqualSequenceMethod< Container >::equal_to(), make_array(), and make_dynarray().
| TEST | ( | FunctionalMixin | , |
| AllEmpty | |||
| ) |
Definition at line 172 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::all(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | FunctionalMixin | , |
| AllPredicate | |||
| ) |
Definition at line 164 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::all(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | FunctionalMixin | , |
| Chunk | |||
| ) |
Definition at line 1088 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | FunctionalMixin | , |
| ChunkEmpty | |||
| ) |
Definition at line 1112 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | FunctionalMixin | , |
| ChunkExactDivision | |||
| ) |
Definition at line 1104 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | FunctionalMixin | , |
| ChunkLargerThanContainer | |||
| ) |
Definition at line 1126 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | FunctionalMixin | , |
| ChunkSizeZero | |||
| ) |
Definition at line 1119 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | FunctionalMixin | , |
| CountIf | |||
| ) |
Definition at line 656 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::count_if(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | FunctionalMixin | , |
| CountIfEmpty | |||
| ) |
Definition at line 666 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::count_if(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | FunctionalMixin | , |
| Drop | |||
| ) |
Definition at line 315 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::drop().
| TEST | ( | FunctionalMixin | , |
| Enumerate | |||
| ) |
Definition at line 740 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::enumerate().
| TEST | ( | FunctionalMixin | , |
| EnumerateEmpty | |||
| ) |
Definition at line 756 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::enumerate().
| TEST | ( | FunctionalMixin | , |
| ExistsEmpty | |||
| ) |
Definition at line 187 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::exists().
| TEST | ( | FunctionalMixin | , |
| ExistsPredicate | |||
| ) |
Definition at line 179 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::exists().
| TEST | ( | FunctionalMixin | , |
| Filter | |||
| ) |
Definition at line 219 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::filter().
| TEST | ( | FunctionalMixin | , |
| FilterNone | |||
| ) |
Definition at line 232 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::filter().
| TEST | ( | FunctionalMixin | , |
| FindIndex | |||
| ) |
Definition at line 763 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::find_index().
| TEST | ( | FunctionalMixin | , |
| FindIndexEmpty | |||
| ) |
Definition at line 772 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::find_index().
| TEST | ( | FunctionalMixin | , |
| First | |||
| ) |
Definition at line 677 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::first().
| TEST | ( | FunctionalMixin | , |
| FirstEmpty | |||
| ) |
Definition at line 686 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::first().
| TEST | ( | FunctionalMixin | , |
| FirstLastSingleElement | |||
| ) |
Definition at line 725 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::first(), Aleph::FunctionalMixin< Derived, Type >::first_or(), Aleph::FunctionalMixin< Derived, Type >::last(), and Aleph::FunctionalMixin< Derived, Type >::last_or().
| TEST | ( | FunctionalMixin | , |
| FirstOr | |||
| ) |
Definition at line 692 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::first_or().
| TEST | ( | FunctionalMixin | , |
| Foldl | |||
| ) |
Definition at line 240 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::foldl(), Aleph::product(), and Aleph::sum().
| TEST | ( | FunctionalMixin | , |
| FoldlEmpty | |||
| ) |
Definition at line 251 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::foldl().
| TEST | ( | FunctionalMixin | , |
| ForEach | |||
| ) |
Definition at line 143 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::for_each(), and Aleph::sum().
| TEST | ( | FunctionalMixin | , |
| HasValue | |||
| ) |
Definition at line 607 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::has_value().
| TEST | ( | FunctionalMixin | , |
| HasValueEmpty | |||
| ) |
Definition at line 619 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::has_value().
| TEST | ( | FunctionalMixin | , |
| HasValueStrings | |||
| ) |
Definition at line 625 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::has_value().
| TEST | ( | FunctionalMixin | , |
| IndexOf | |||
| ) |
Definition at line 778 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::index_of().
| TEST | ( | FunctionalMixin | , |
| IndexOfStrings | |||
| ) |
Definition at line 788 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::index_of().
| TEST | ( | FunctionalMixin | , |
| Intersperse | |||
| ) |
Definition at line 1045 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::intersperse().
| TEST | ( | FunctionalMixin | , |
| IntersperseEmpty | |||
| ) |
Definition at line 1057 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::intersperse().
| TEST | ( | FunctionalMixin | , |
| IntersperseSingleElement | |||
| ) |
Definition at line 1064 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::intersperse().
| TEST | ( | FunctionalMixin | , |
| IntersperseStrings | |||
| ) |
Definition at line 1076 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::intersperse().
| TEST | ( | FunctionalMixin | , |
| Join | |||
| ) |
Definition at line 1233 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::join().
| TEST | ( | FunctionalMixin | , |
| JoinEmpty | |||
| ) |
Definition at line 1248 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::join().
| TEST | ( | FunctionalMixin | , |
| JoinSingleElement | |||
| ) |
Definition at line 1241 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::join().
| TEST | ( | FunctionalMixin | , |
| JoinStr | |||
| ) |
Definition at line 1255 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::join_str().
| TEST | ( | FunctionalMixin | , |
| JoinStrEmpty | |||
| ) |
Definition at line 1263 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::join_str().
| TEST | ( | FunctionalMixin | , |
| Last | |||
| ) |
Definition at line 701 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::last().
| TEST | ( | FunctionalMixin | , |
| LastEmpty | |||
| ) |
Definition at line 710 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::last().
| TEST | ( | FunctionalMixin | , |
| LastOr | |||
| ) |
Definition at line 716 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::last_or().
| TEST | ( | FunctionalMixin | , |
| Length | |||
| ) |
Definition at line 278 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::length().
| TEST | ( | FunctionalMixin | , |
| Maps | |||
| ) |
Definition at line 193 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::maps().
| TEST | ( | FunctionalMixin | , |
| MapsTypeConversion | |||
| ) |
Definition at line 206 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::maps(), and Aleph::to_string().
| TEST | ( | FunctionalMixin | , |
| Max | |||
| ) |
Definition at line 548 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::max(), and Aleph::max_ptr().
| TEST | ( | FunctionalMixin | , |
| MaxByCustomComparator | |||
| ) |
Definition at line 582 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::max_by().
| TEST | ( | FunctionalMixin | , |
| MaxEmpty | |||
| ) |
Definition at line 557 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::max().
| TEST | ( | FunctionalMixin | , |
| MaxSingle | |||
| ) |
Definition at line 563 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::max().
| TEST | ( | FunctionalMixin | , |
| Min | |||
| ) |
Definition at line 526 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::min(), and Aleph::min_ptr().
| TEST | ( | FunctionalMixin | , |
| MinByCustomComparator | |||
| ) |
Definition at line 570 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::min_by().
| TEST | ( | FunctionalMixin | , |
| MinEmpty | |||
| ) |
Definition at line 535 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | FunctionalMixin | , |
| MinMaxWithNegatives | |||
| ) |
Definition at line 594 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::max(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | FunctionalMixin | , |
| MinSingle | |||
| ) |
Definition at line 541 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | FunctionalMixin | , |
| MutableForEach | |||
| ) |
Definition at line 153 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::for_each(), Aleph::FunctionalMixin< Derived, Type >::mutable_for_each(), and Aleph::sum().
| TEST | ( | FunctionalMixin | , |
| None | |||
| ) |
Definition at line 634 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::none().
| TEST | ( | FunctionalMixin | , |
| NoneEmpty | |||
| ) |
Definition at line 642 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::none().
| TEST | ( | FunctionalMixin | , |
| NoneLValuePredicate | |||
| ) |
Definition at line 648 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), is_odd, and Aleph::FunctionalMixin< Derived, Type >::none().
| TEST | ( | FunctionalMixin | , |
| Partition | |||
| ) |
Definition at line 259 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::partition().
| TEST | ( | FunctionalMixin | , |
| Product | |||
| ) |
Definition at line 512 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::product().
| TEST | ( | FunctionalMixin | , |
| ProductEmpty | |||
| ) |
Definition at line 519 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::product().
| TEST | ( | FunctionalMixin | , |
| Rev | |||
| ) |
Definition at line 287 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::rev().
| TEST | ( | FunctionalMixin | , |
| Sliding | |||
| ) |
Definition at line 1133 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::sliding(), and w.
| TEST | ( | FunctionalMixin | , |
| SlidingEmpty | |||
| ) |
Definition at line 1152 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::sliding().
| TEST | ( | FunctionalMixin | , |
| SlidingLargerThanContainer | |||
| ) |
Definition at line 1166 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::sliding().
| TEST | ( | FunctionalMixin | , |
| SlidingSizeZero | |||
| ) |
Definition at line 1159 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::sliding().
| TEST | ( | FunctionalMixin | , |
| SlidingWithStep | |||
| ) |
Definition at line 1144 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::sliding().
| TEST | ( | FunctionalMixin | , |
| Sum | |||
| ) |
Definition at line 491 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | FunctionalMixin | , |
| SumEmpty | |||
| ) |
Definition at line 498 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | FunctionalMixin | , |
| SumStrings | |||
| ) |
Definition at line 505 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | FunctionalMixin | , |
| Take | |||
| ) |
Definition at line 300 of file ah-dry-mixin_test.cc.
References Aleph::all(), Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::take().
| TEST | ( | FunctionalMixin | , |
| ToDynlist | |||
| ) |
Definition at line 1195 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), LocateFunctions< Container, Type >::get_it(), Aleph::HTList::size(), and Aleph::FunctionalMixin< Derived, Type >::to_dynlist().
| TEST | ( | FunctionalMixin | , |
| ToDynlistEmpty | |||
| ) |
Definition at line 1209 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::HTList::is_empty(), and Aleph::FunctionalMixin< Derived, Type >::to_dynlist().
| TEST | ( | FunctionalMixin | , |
| ToDynlistRoundTrip | |||
| ) |
| TEST | ( | FunctionalMixin | , |
| ToVector | |||
| ) |
Definition at line 1178 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::to_vector().
| TEST | ( | FunctionalMixin | , |
| ToVectorEmpty | |||
| ) |
Definition at line 1188 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::to_vector().
| TEST | ( | FunctionalMixin | , |
| Unique | |||
| ) |
Definition at line 996 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | FunctionalMixin | , |
| UniqueBy | |||
| ) |
Definition at line 1034 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::tolower(), and Aleph::FunctionalMixin< Derived, Type >::unique_by().
| TEST | ( | FunctionalMixin | , |
| UniqueEmpty | |||
| ) |
Definition at line 1008 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | FunctionalMixin | , |
| UniqueNoDuplicates | |||
| ) |
Definition at line 1027 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | FunctionalMixin | , |
| UniqueSingleElement | |||
| ) |
Definition at line 1015 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | FunctionalMixin | , |
| ZipWith | |||
| ) |
Definition at line 1275 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::zip_with().
| TEST | ( | FunctionalMixin | , |
| ZipWithBothEmpty | |||
| ) |
Definition at line 1310 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::zip_with().
| TEST | ( | FunctionalMixin | , |
| ZipWithDifferentLengths | |||
| ) |
Definition at line 1292 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::zip_with().
| TEST | ( | FunctionalMixin | , |
| ZipWithEmpty | |||
| ) |
Definition at line 1301 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::FunctionalMixin< Derived, Type >::zip_with().
| TEST | ( | KeysMixin | , |
| Items | |||
| ) |
Definition at line 412 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::KeysMixin< Derived, Type >::items().
| TEST | ( | KeysMixin | , |
| Keys | |||
| ) |
Definition at line 404 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), k, and Aleph::KeysMixin< Derived, Type >::keys().
| TEST | ( | LocateMixin | , |
| FindItem | |||
| ) |
Definition at line 387 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::LocateMixin< Derived, Type >::find_item().
| TEST | ( | LocateMixin | , |
| FindPtr | |||
| ) |
Definition at line 364 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::LocateMixin< Derived, Type >::find_ptr().
| TEST | ( | LocateMixin | , |
| FindPtrModify | |||
| ) |
Definition at line 376 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::LocateMixin< Derived, Type >::find_ptr(), and Aleph::LocateMixin< Derived, Type >::nth().
| TEST | ( | LocateMixin | , |
| Nth | |||
| ) |
Definition at line 335 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::LocateMixin< Derived, Type >::nth().
| TEST | ( | LocateMixin | , |
| NthModify | |||
| ) |
Definition at line 356 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::LocateMixin< Derived, Type >::nth().
| TEST | ( | LocateMixin | , |
| NthNe | |||
| ) |
Definition at line 347 of file ah-dry-mixin_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::LocateMixin< Derived, Type >::nth_ne().
| TEST | ( | StressTest | , |
| LargeContainer | |||
| ) |
Definition at line 842 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::all(), MixinVector< T >::append(), Aleph::FunctionalMixin< Derived, Type >::count_if(), Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::filter(), Aleph::FunctionalMixin< Derived, Type >::first(), Aleph::FunctionalMixin< Derived, Type >::foldl(), Aleph::FunctionalMixin< Derived, Type >::has_value(), Aleph::FunctionalMixin< Derived, Type >::last(), Aleph::FunctionalMixin< Derived, Type >::max(), Aleph::FunctionalMixin< Derived, Type >::min(), N, Aleph::sum(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | StressTest | , |
| LargeEnumerate | |||
| ) |
Definition at line 880 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), Aleph::divide_and_conquer_partition_dp(), Aleph::FunctionalMixin< Derived, Type >::enumerate(), and N.
| TEST | ( | TraverseMixin | , |
| BasicTraverse | |||
| ) |
Definition at line 101 of file ah-dry-mixin_test.cc.
References Aleph::completed(), Aleph::divide_and_conquer_partition_dp(), Aleph::sum(), and Aleph::TraverseMixin< Derived, Type >::traverse().
| TEST | ( | TraverseMixin | , |
| TraverseEarlyStop | |||
| ) |
Definition at line 115 of file ah-dry-mixin_test.cc.
References Aleph::completed(), Aleph::divide_and_conquer_partition_dp(), Aleph::sum(), and Aleph::TraverseMixin< Derived, Type >::traverse().
| TEST | ( | TraverseMixin | , |
| TraverseEmpty | |||
| ) |
Definition at line 130 of file ah-dry-mixin_test.cc.
References Aleph::completed(), Aleph::divide_and_conquer_partition_dp(), and Aleph::TraverseMixin< Derived, Type >::traverse().