|
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>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) | |
Tests for Ah Dry Mixin.
Definition in file ah-dry-mixin_test.cc.
| TEST | ( | ChainedOps | , |
| ChunkAndSum | |||
| ) |
Definition at line 1335 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), FunctionalMethods< Container, T >::foldl(), FunctionalMethods< Container, T >::for_each(), and Aleph::maps().
| TEST | ( | ChainedOps | , |
| EnumerateThenCountElements | |||
| ) |
Definition at line 820 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::enumerate(), FunctionalMethods< Container, T >::foldl(), Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | ChainedOps | , |
| FilterThenMap | |||
| ) |
Definition at line 423 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::filter(), FunctionalMethods< Container, T >::for_each(), Aleph::maps(), FunctionalMethods< Container, T >::maps(), and Aleph::HTList::size().
| TEST | ( | ChainedOps | , |
| MapThenFold | |||
| ) |
Definition at line 438 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::foldl(), Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::maps(), and Aleph::sum().
| TEST | ( | ChainedOps | , |
| MinMaxOnMixinVector | |||
| ) |
Definition at line 812 of file ah-dry-mixin_test.cc.
References Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::max(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | ChainedOps | , |
| SumAfterFoldl | |||
| ) |
Definition at line 799 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::filter(), FunctionalMethods< Container, T >::foldl(), Aleph::maps(), Aleph::sum(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | ChainedOps | , |
| UniqueVerify | |||
| ) |
Definition at line 1322 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), Aleph::HTList::size(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | ComplexTypes | , |
| StructOperations | |||
| ) |
Definition at line 460 of file ah-dry-mixin_test.cc.
References Person::age, Aleph::DynList< T >::append(), FunctionalMethods< Container, T >::filter(), LocateFunctions< Container, Type >::find_ptr(), FunctionalMethods< Container, T >::foldl(), Aleph::maps(), FunctionalMethods< Container, T >::maps(), Person::name, Aleph::HTList::size(), and Aleph::sum().
| TEST | ( | ConstraintTest | , |
| EqualityOnlyType | |||
| ) |
Definition at line 949 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), Aleph::FunctionalMixin< Derived, Type >::has_value(), Aleph::FunctionalMixin< Derived, Type >::index_of(), and Aleph::maps().
| TEST | ( | ConstraintTest | , |
| LessThanOnlyType | |||
| ) |
Definition at line 973 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::max(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | ConstraintTest | , |
| MethodsWithoutConstraintsWork | |||
| ) |
Definition at line 910 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), Aleph::FunctionalMixin< Derived, Type >::count_if(), Aleph::FunctionalMixin< Derived, Type >::enumerate(), Aleph::FunctionalMixin< Derived, Type >::find_index(), Aleph::FunctionalMixin< Derived, Type >::first(), Aleph::FunctionalMixin< Derived, Type >::last(), Aleph::FunctionalMixin< Derived, Type >::length(), Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | DynListIntegration | , |
| ExistingMethodsWork | |||
| ) |
Definition at line 1354 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::all(), Aleph::DynList< T >::append(), FunctionalMethods< Container, T >::exists(), FunctionalMethods< Container, T >::filter(), FunctionalMethods< Container, T >::foldl(), Aleph::maps(), Aleph::HTList::size(), and Aleph::sum().
| TEST | ( | FunctionalMixin | , |
| AllEmpty | |||
| ) |
Definition at line 170 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::all(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| AllPredicate | |||
| ) |
Definition at line 162 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::all(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| Chunk | |||
| ) |
Definition at line 1086 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), Aleph::maps(), Aleph::HTList::size(), and GenericTraverse< Container >::traverse().
| TEST | ( | FunctionalMixin | , |
| ChunkEmpty | |||
| ) |
Definition at line 1110 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), Aleph::HTList::is_empty(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| ChunkExactDivision | |||
| ) |
Definition at line 1102 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | FunctionalMixin | , |
| ChunkLargerThanContainer | |||
| ) |
Definition at line 1124 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | FunctionalMixin | , |
| ChunkSizeZero | |||
| ) |
Definition at line 1117 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::chunk(), Aleph::HTList::is_empty(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| CountIf | |||
| ) |
Definition at line 654 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::count_if(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| CountIfEmpty | |||
| ) |
Definition at line 664 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::count_if(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| Drop | |||
| ) |
Definition at line 313 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::drop(), FunctionalMethods< Container, T >::for_each(), Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | FunctionalMixin | , |
| Enumerate | |||
| ) |
Definition at line 738 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::enumerate(), FunctionalMethods< Container, T >::for_each(), Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | FunctionalMixin | , |
| EnumerateEmpty | |||
| ) |
Definition at line 754 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::enumerate(), Aleph::HTList::is_empty(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| ExistsEmpty | |||
| ) |
Definition at line 185 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::exists(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| ExistsPredicate | |||
| ) |
Definition at line 177 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::exists(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| Filter | |||
| ) |
Definition at line 217 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::filter(), FunctionalMethods< Container, T >::for_each(), Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | FunctionalMixin | , |
| FilterNone | |||
| ) |
Definition at line 230 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::filter(), Aleph::HTList::is_empty(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| FindIndex | |||
| ) |
Definition at line 761 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::find_index(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| FindIndexEmpty | |||
| ) |
Definition at line 770 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::find_index(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| First | |||
| ) |
Definition at line 675 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::first(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| FirstEmpty | |||
| ) |
Definition at line 684 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::first(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| FirstLastSingleElement | |||
| ) |
| TEST | ( | FunctionalMixin | , |
| FirstOr | |||
| ) |
Definition at line 690 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::first_or(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| Foldl | |||
| ) |
Definition at line 238 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::foldl(), Aleph::maps(), Aleph::product(), and Aleph::sum().
| TEST | ( | FunctionalMixin | , |
| FoldlEmpty | |||
| ) |
Definition at line 249 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::foldl(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| ForEach | |||
| ) |
Definition at line 141 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::for_each(), Aleph::maps(), and Aleph::sum().
| TEST | ( | FunctionalMixin | , |
| HasValue | |||
| ) |
Definition at line 605 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::has_value(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| HasValueEmpty | |||
| ) |
Definition at line 617 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::has_value(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| HasValueStrings | |||
| ) |
Definition at line 623 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::has_value(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| IndexOf | |||
| ) |
Definition at line 776 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::index_of(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| IndexOfStrings | |||
| ) |
Definition at line 786 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::index_of(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| Intersperse | |||
| ) |
Definition at line 1043 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::FunctionalMixin< Derived, Type >::intersperse(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| IntersperseEmpty | |||
| ) |
Definition at line 1055 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::intersperse(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| IntersperseSingleElement | |||
| ) |
Definition at line 1062 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::intersperse(), Aleph::maps(), and GenericTraverse< Container >::traverse().
| TEST | ( | FunctionalMixin | , |
| IntersperseStrings | |||
| ) |
Definition at line 1074 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::intersperse(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| Join | |||
| ) |
Definition at line 1231 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::join(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| JoinEmpty | |||
| ) |
Definition at line 1246 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::join(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| JoinSingleElement | |||
| ) |
Definition at line 1239 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::join(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| JoinStr | |||
| ) |
Definition at line 1253 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::join_str(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| JoinStrEmpty | |||
| ) |
Definition at line 1261 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::join_str(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| Last | |||
| ) |
Definition at line 699 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::last(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| LastEmpty | |||
| ) |
Definition at line 708 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::last(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| LastOr | |||
| ) |
Definition at line 714 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::last_or(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| Length | |||
| ) |
Definition at line 276 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::length(), and Aleph::maps().
| TEST | ( | FunctionalMixin | , |
| Maps | |||
| ) |
Definition at line 191 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::maps(), and Aleph::HTList::size().
| TEST | ( | FunctionalMixin | , |
| MapsTypeConversion | |||
| ) |
Definition at line 204 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::maps(), Aleph::HTList::size(), and Aleph::to_string().
| TEST | ( | FunctionalMixin | , |
| Max | |||
| ) |
Definition at line 546 of file ah-dry-mixin_test.cc.
References Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::max(), and Aleph::max_ptr().
| TEST | ( | FunctionalMixin | , |
| MaxByCustomComparator | |||
| ) |
Definition at line 580 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::max_by().
| TEST | ( | FunctionalMixin | , |
| MaxEmpty | |||
| ) |
Definition at line 555 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::max().
| TEST | ( | FunctionalMixin | , |
| MaxSingle | |||
| ) |
Definition at line 561 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::max().
| TEST | ( | FunctionalMixin | , |
| Min | |||
| ) |
Definition at line 524 of file ah-dry-mixin_test.cc.
References Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::min(), and Aleph::min_ptr().
| TEST | ( | FunctionalMixin | , |
| MinByCustomComparator | |||
| ) |
Definition at line 568 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::min_by().
| TEST | ( | FunctionalMixin | , |
| MinEmpty | |||
| ) |
Definition at line 533 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | FunctionalMixin | , |
| MinMaxWithNegatives | |||
| ) |
Definition at line 592 of file ah-dry-mixin_test.cc.
References Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::max(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | FunctionalMixin | , |
| MinSingle | |||
| ) |
Definition at line 539 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::min().
| TEST | ( | FunctionalMixin | , |
| MutableForEach | |||
| ) |
Definition at line 151 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::for_each(), Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::mutable_for_each(), and Aleph::sum().
| TEST | ( | FunctionalMixin | , |
| None | |||
| ) |
Definition at line 632 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::none().
| TEST | ( | FunctionalMixin | , |
| NoneEmpty | |||
| ) |
Definition at line 640 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::none().
| TEST | ( | FunctionalMixin | , |
| NoneLValuePredicate | |||
| ) |
Definition at line 646 of file ah-dry-mixin_test.cc.
References is_odd, Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::none().
| TEST | ( | FunctionalMixin | , |
| Partition | |||
| ) |
Definition at line 257 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::partition(), and Aleph::HTList::size().
| TEST | ( | FunctionalMixin | , |
| Product | |||
| ) |
Definition at line 510 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::product().
| TEST | ( | FunctionalMixin | , |
| ProductEmpty | |||
| ) |
Definition at line 517 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::product().
| TEST | ( | FunctionalMixin | , |
| Rev | |||
| ) |
Definition at line 285 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), Aleph::FunctionalMixin< Derived, Type >::rev(), and Aleph::HTList::size().
| TEST | ( | FunctionalMixin | , |
| Sliding | |||
| ) |
Definition at line 1131 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), Aleph::HTList::size(), Aleph::FunctionalMixin< Derived, Type >::sliding(), and w.
| TEST | ( | FunctionalMixin | , |
| SlidingEmpty | |||
| ) |
Definition at line 1150 of file ah-dry-mixin_test.cc.
References Aleph::HTList::is_empty(), Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::sliding().
| TEST | ( | FunctionalMixin | , |
| SlidingLargerThanContainer | |||
| ) |
Definition at line 1164 of file ah-dry-mixin_test.cc.
References Aleph::HTList::is_empty(), Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::sliding().
| TEST | ( | FunctionalMixin | , |
| SlidingSizeZero | |||
| ) |
Definition at line 1157 of file ah-dry-mixin_test.cc.
References Aleph::HTList::is_empty(), Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::sliding().
| TEST | ( | FunctionalMixin | , |
| SlidingWithStep | |||
| ) |
Definition at line 1142 of file ah-dry-mixin_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::FunctionalMixin< Derived, Type >::sliding().
| TEST | ( | FunctionalMixin | , |
| Sum | |||
| ) |
Definition at line 489 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | FunctionalMixin | , |
| SumEmpty | |||
| ) |
Definition at line 496 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | FunctionalMixin | , |
| SumStrings | |||
| ) |
Definition at line 503 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | FunctionalMixin | , |
| Take | |||
| ) |
Definition at line 298 of file ah-dry-mixin_test.cc.
References Aleph::all(), FunctionalMethods< Container, T >::for_each(), Aleph::maps(), Aleph::HTList::size(), and Aleph::FunctionalMixin< Derived, Type >::take().
| TEST | ( | FunctionalMixin | , |
| ToDynlist | |||
| ) |
Definition at line 1193 of file ah-dry-mixin_test.cc.
References LocateFunctions< Container, Type >::get_it(), Aleph::maps(), Aleph::HTList::size(), and Aleph::FunctionalMixin< Derived, Type >::to_dynlist().
| TEST | ( | FunctionalMixin | , |
| ToDynlistEmpty | |||
| ) |
Definition at line 1207 of file ah-dry-mixin_test.cc.
References Aleph::HTList::is_empty(), Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::to_dynlist().
| TEST | ( | FunctionalMixin | , |
| ToDynlistRoundTrip | |||
| ) |
Definition at line 1214 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), Aleph::HTList::size(), Aleph::FunctionalMixin< Derived, Type >::to_dynlist(), and Aleph::FunctionalMixin< Derived, Type >::to_vector().
| TEST | ( | FunctionalMixin | , |
| ToVector | |||
| ) |
Definition at line 1176 of file ah-dry-mixin_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::FunctionalMixin< Derived, Type >::to_vector().
| TEST | ( | FunctionalMixin | , |
| ToVectorEmpty | |||
| ) |
Definition at line 1186 of file ah-dry-mixin_test.cc.
References Aleph::DynList< T >::empty(), Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::to_vector().
| TEST | ( | FunctionalMixin | , |
| Unique | |||
| ) |
Definition at line 994 of file ah-dry-mixin_test.cc.
References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | FunctionalMixin | , |
| UniqueBy | |||
| ) |
Definition at line 1032 of file ah-dry-mixin_test.cc.
References Aleph::maps(), Aleph::tolower(), and Aleph::FunctionalMixin< Derived, Type >::unique_by().
| TEST | ( | FunctionalMixin | , |
| UniqueEmpty | |||
| ) |
Definition at line 1006 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | FunctionalMixin | , |
| UniqueNoDuplicates | |||
| ) |
Definition at line 1025 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | FunctionalMixin | , |
| UniqueSingleElement | |||
| ) |
Definition at line 1013 of file ah-dry-mixin_test.cc.
References Aleph::maps(), GenericTraverse< Container >::traverse(), and Aleph::FunctionalMixin< Derived, Type >::unique().
| TEST | ( | FunctionalMixin | , |
| ZipWith | |||
| ) |
Definition at line 1273 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), LocateFunctions< Container, Type >::get_it(), Aleph::maps(), Aleph::HTList::size(), and Aleph::FunctionalMixin< Derived, Type >::zip_with().
| TEST | ( | FunctionalMixin | , |
| ZipWithBothEmpty | |||
| ) |
Definition at line 1308 of file ah-dry-mixin_test.cc.
References Aleph::HTList::is_empty(), Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::zip_with().
| TEST | ( | FunctionalMixin | , |
| ZipWithDifferentLengths | |||
| ) |
Definition at line 1290 of file ah-dry-mixin_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::FunctionalMixin< Derived, Type >::zip_with().
| TEST | ( | FunctionalMixin | , |
| ZipWithEmpty | |||
| ) |
Definition at line 1299 of file ah-dry-mixin_test.cc.
References Aleph::HTList::is_empty(), Aleph::maps(), and Aleph::FunctionalMixin< Derived, Type >::zip_with().
| TEST | ( | KeysMixin | , |
| Items | |||
| ) |
Definition at line 410 of file ah-dry-mixin_test.cc.
References Aleph::KeysMixin< Derived, Type >::items(), and Aleph::maps().
| TEST | ( | KeysMixin | , |
| Keys | |||
| ) |
Definition at line 402 of file ah-dry-mixin_test.cc.
References Aleph::KeysMixin< Derived, Type >::keys(), Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | LocateMixin | , |
| FindItem | |||
| ) |
Definition at line 385 of file ah-dry-mixin_test.cc.
References Aleph::LocateMixin< Derived, Type >::find_item(), and Aleph::maps().
| TEST | ( | LocateMixin | , |
| FindPtr | |||
| ) |
Definition at line 362 of file ah-dry-mixin_test.cc.
References Aleph::LocateMixin< Derived, Type >::find_ptr(), and Aleph::maps().
| TEST | ( | LocateMixin | , |
| FindPtrModify | |||
| ) |
Definition at line 374 of file ah-dry-mixin_test.cc.
References Aleph::LocateMixin< Derived, Type >::find_ptr(), Aleph::maps(), and Aleph::LocateMixin< Derived, Type >::nth().
| TEST | ( | LocateMixin | , |
| Nth | |||
| ) |
Definition at line 333 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::LocateMixin< Derived, Type >::nth().
| TEST | ( | LocateMixin | , |
| NthModify | |||
| ) |
Definition at line 354 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::LocateMixin< Derived, Type >::nth().
| TEST | ( | LocateMixin | , |
| NthNe | |||
| ) |
Definition at line 345 of file ah-dry-mixin_test.cc.
References Aleph::maps(), and Aleph::LocateMixin< Derived, Type >::nth_ne().
| TEST | ( | StressTest | , |
| LargeContainer | |||
| ) |
Definition at line 840 of file ah-dry-mixin_test.cc.
References Aleph::FunctionalMixin< Derived, Type >::all(), MixinVector< T >::append(), Aleph::FunctionalMixin< Derived, Type >::count_if(), 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::maps(), Aleph::FunctionalMixin< Derived, Type >::max(), Aleph::FunctionalMixin< Derived, Type >::min(), N, Aleph::HTList::size(), Aleph::sum(), and Aleph::FunctionalMixin< Derived, Type >::sum().
| TEST | ( | StressTest | , |
| LargeEnumerate | |||
| ) |
Definition at line 878 of file ah-dry-mixin_test.cc.
References MixinVector< T >::append(), Aleph::FunctionalMixin< Derived, Type >::enumerate(), FunctionalMethods< Container, T >::for_each(), Aleph::maps(), N, and Aleph::HTList::size().
| TEST | ( | TraverseMixin | , |
| BasicTraverse | |||
| ) |
Definition at line 99 of file ah-dry-mixin_test.cc.
References Aleph::completed(), Aleph::maps(), Aleph::sum(), and Aleph::TraverseMixin< Derived, Type >::traverse().
| TEST | ( | TraverseMixin | , |
| TraverseEarlyStop | |||
| ) |
Definition at line 113 of file ah-dry-mixin_test.cc.
References Aleph::completed(), Aleph::maps(), Aleph::sum(), and Aleph::TraverseMixin< Derived, Type >::traverse().
| TEST | ( | TraverseMixin | , |
| TraverseEmpty | |||
| ) |
Definition at line 128 of file ah-dry-mixin_test.cc.
References Aleph::completed(), Aleph::maps(), and Aleph::TraverseMixin< Derived, Type >::traverse().