|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Ah Stl Functional. More...
#include <gtest/gtest.h>#include <ah-stl-functional.H>#include <vector>#include <list>#include <deque>#include <string>#include <forward_list>Go to the source code of this file.
Classes | |
| struct | std::hash< Point > |
| struct | std::hash< MoveTracker > |
Namespaces | |
| namespace | std |
| STL namespace. | |
Functions | |
| TEST (StlRange, BasicRange) | |
| TEST (StlRange, RangeWithStep) | |
| TEST (StlRange, SingleArgRange) | |
| TEST (StlLinspace, Basic) | |
| TEST (StlRep, Basic) | |
| TEST (StlGenerate, Basic) | |
| TEST (StlForEach, Basic) | |
| TEST (StlForEachIndexed, Basic) | |
| TEST (StlMap, Basic) | |
| TEST (StlMap, TypeChange) | |
| TEST (StlMapi, Basic) | |
| TEST (StlFilter, Basic) | |
| TEST (StlFilteri, EvenIndices) | |
| TEST (StlFoldl, Sum) | |
| TEST (StlFoldl, Product) | |
| TEST (StlFoldr, Subtraction) | |
| TEST (StlFoldr, ListConstruction) | |
| TEST (StlScanLeft, RunningSum) | |
| TEST (StlScanRight, Basic) | |
| TEST (StlAll, AllTrue) | |
| TEST (StlAll, SomeFalse) | |
| TEST (StlExists, SomeTrue) | |
| TEST (StlExists, NoneTrue) | |
| TEST (StlNone, Basic) | |
| TEST (StlFind, Found) | |
| TEST (StlFind, NotFound) | |
| TEST (StlFindLast, Found) | |
| TEST (StlFindIndex, Found) | |
| TEST (StlFindMapi, Found) | |
| TEST (StlMem, Found) | |
| TEST (StlCount, Basic) | |
| TEST (StlCountValue, Basic) | |
| TEST (StlTake, Basic) | |
| TEST (StlDrop, Basic) | |
| TEST (StlTakeLast, Basic) | |
| TEST (StlTakeWhile, Basic) | |
| TEST (StlDropWhile, Basic) | |
| TEST (StlFirst, Basic) | |
| TEST (StlFirst, Empty) | |
| TEST (StlLast, Basic) | |
| TEST (StlNth, Basic) | |
| TEST (StlMin, Basic) | |
| TEST (StlMax, Basic) | |
| TEST (StlMinMax, Basic) | |
| TEST (StlMinBy, Basic) | |
| TEST (StlMaxBy, Basic) | |
| TEST (StlSum, Basic) | |
| TEST (StlProduct, Basic) | |
| TEST (StlPartition, Basic) | |
| TEST (StlZipToPairs, Basic) | |
| TEST (StlUnzipPairs, Basic) | |
| TEST (StlEnumerateToPairs, Basic) | |
| TEST (StlEqual, Equal) | |
| TEST (StlEqual, NotEqual) | |
| TEST (StlCompare, Equal) | |
| TEST (StlCompare, Less) | |
| TEST (StlCompare, Greater) | |
| TEST (StlReverse, Basic) | |
| TEST (StlSort, Basic) | |
| TEST (StlSortBy, Basic) | |
| TEST (StlUnique, Basic) | |
| TEST (StlDistinct, Basic) | |
| TEST (StlConcat, Basic) | |
| TEST (StlFlatten, Basic) | |
| TEST (StlFlatMap, Basic) | |
| TEST (StlGroup, Basic) | |
| TEST (StlGroupBy, Basic) | |
| TEST (StlFunctional, WorksWithList) | |
| TEST (StlFunctional, WorksWithDeque) | |
| TEST (StlPermutations, Basic) | |
| TEST (StlPermutations, TraverseWithStop) | |
| TEST (StlCombinations, ChooseTwo) | |
| TEST (StlCombinations, ChooseThree) | |
| TEST (StlArrangements, ChooseTwo) | |
| TEST (StlCartesianProduct, Basic) | |
| TEST (StlPowerSet, Basic) | |
| TEST (StlSlidingWindow, Basic) | |
| TEST (StlChunks, Basic) | |
| TEST (StlIntersperse, Basic) | |
| TEST (StlSplitAt, Basic) | |
| TEST (StlSpan, Basic) | |
| TEST (StlInit, Basic) | |
| TEST (StlTail, Basic) | |
| TEST (StlTally, Basic) | |
| TEST (StlReject, Basic) | |
| TEST (StlDistinctPerformance, LargeContainerUsesHashPath) | |
| TEST (StlDistinctPerformance, VeryLargeContainer) | |
| TEST (StlTallyPerformance, LargeContainerUsesHashPath) | |
| TEST (StlGroupByPerformance, LargeContainerUsesHashPath) | |
| TEST (StlDistinctEdgeCases, EmptyContainer) | |
| TEST (StlDistinctEdgeCases, SingleElement) | |
| TEST (StlDistinctEdgeCases, AllSame) | |
| TEST (StlDistinctEdgeCases, AllUnique) | |
| TEST (StlTallyEdgeCases, EmptyContainer) | |
| TEST (StlTallyEdgeCases, SingleElement) | |
| TEST (StlGroupByEdgeCases, EmptyContainer) | |
| TEST (StlGroupByEdgeCases, SingleElement) | |
| TEST (StlGroupByEdgeCases, AllSameKey) | |
| TEST (StlDistinctSmall, UsesLinearPath) | |
| TEST (StlTallySmall, UsesLinearPath) | |
| TEST (StlDistinctCustomType, PointsSmall) | |
| TEST (StlDistinctCustomType, PointsLarge) | |
| TEST (StlTallyCustomType, Points) | |
| TEST (StlGroupByCustomType, PointsByQuadrant) | |
| TEST (StlMapForwarding, LambdaWithCapture) | |
| TEST (StlFilterForwarding, MutableLambda) | |
| TEST (StlFoldlForwarding, AccumulatorByValue) | |
| TEST (StlDistinctContainerTypes, List) | |
| TEST (StlDistinctContainerTypes, Deque) | |
| TEST (StlTallyContainerTypes, List) | |
| TEST (StlGroupByContainerTypes, List) | |
| TEST (StlDistinctOrder, PreservesFirstOccurrence) | |
| TEST (StlDistinctOrder, PreservesFirstOccurrenceLarge) | |
| TEST (StlTallyOrder, PreservesFirstOccurrence) | |
| TEST (StlGroupByOrder, PreservesFirstOccurrence) | |
| TEST (StlDistinctStrings, Basic) | |
| TEST (StlDistinctStrings, Large) | |
| TEST (StlGroupByStrings, ByLength) | |
| TEST (StlGroupByStrings, ByFirstChar) | |
| TEST (StlDistinctBoundary, JustBelowThreshold) | |
| TEST (StlDistinctBoundary, ExactlyAtThreshold) | |
| TEST (StlDistinctBoundary, JustAboveThreshold) | |
| TEST (StlComposition, DistinctThenMap) | |
| TEST (StlComposition, FilterThenDistinct) | |
| TEST (StlComposition, GroupByThenMap) | |
| TEST (StlForwardListCompat, Map) | |
| TEST (StlForwardListCompat, Filter) | |
| TEST (StlForwardListCompat, Foldl) | |
| TEST (StlForwardListCompat, Distinct) | |
| TEST (StlForwardListCompat, Tally) | |
| TEST (StlForwardListCompat, GroupBy) | |
| TEST (StlForwardListCompat, Last) | |
| TEST (StlForwardListCompat, TakeLast) | |
| TEST (StlForwardListCompat, Drop) | |
| TEST (StlNonHashable, DistinctSmall) | |
| TEST (StlNonHashable, DistinctLarge) | |
| TEST (StlNonHashable, TallySmall) | |
| TEST (StlNonHashable, GroupByWithNonHashableKey) | |
| TEST (StlStatefulCallable, FilterPreservesState) | |
| TEST (StlStatefulCallable, MapPreservesState) | |
| TEST (StlStatefulCallable, ForEachPreservesState) | |
| TEST (StlStatefulCallable, AllPreservesState) | |
| TEST (StlStatefulCallable, ExistsStopsEarly) | |
| TEST (StlEmptyContainer, LastReturnsNullopt) | |
| TEST (StlEmptyContainer, MinReturnsNullopt) | |
| TEST (StlEmptyContainer, MaxReturnsNullopt) | |
| TEST (StlEmptyContainer, ProductReturnsZero) | |
| TEST (StlEmptyContainer, SumReturnsZero) | |
| TEST (StlEmptyContainer, ScanLeftReturnsInit) | |
| TEST (StlEmptyContainer, ScanRightReturnsInit) | |
| TEST (StlEmptyContainer, InterspersReturnsEmpty) | |
| TEST (StlEmptyContainer, SlidingWindowReturnsEmpty) | |
| TEST (StlEmptyContainer, ChunksReturnsEmpty) | |
| TEST (StlPowerSetOverflow, ThrowsForLargeContainer) | |
| TEST (StlPowerSetOverflow, WorksForSmallContainer) | |
| int | main (int argc, char **argv) |
Tests for Ah Stl Functional.
Definition in file ah-stl-functional_test.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 1857 of file ah-stl-functional_test.cc.
References Aleph::maps().
| TEST | ( | StlAll | , |
| AllTrue | |||
| ) |
Definition at line 249 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_all().
| TEST | ( | StlAll | , |
| SomeFalse | |||
| ) |
Definition at line 255 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_all().
| TEST | ( | StlArrangements | , |
| ChooseTwo | |||
| ) |
Definition at line 807 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_arrangements().
| TEST | ( | StlCartesianProduct | , |
| Basic | |||
| ) |
Definition at line 816 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::product(), and Aleph::stl_cartesian_product().
| TEST | ( | StlChunks | , |
| Basic | |||
| ) |
Definition at line 849 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_chunks().
| TEST | ( | StlCombinations | , |
| ChooseThree | |||
| ) |
Definition at line 798 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_combinations().
| TEST | ( | StlCombinations | , |
| ChooseTwo | |||
| ) |
Definition at line 785 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_combinations().
| TEST | ( | StlCompare | , |
| Equal | |||
| ) |
Definition at line 585 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_compare().
| TEST | ( | StlCompare | , |
| Greater | |||
| ) |
Definition at line 601 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_compare().
| TEST | ( | StlCompare | , |
| Less | |||
| ) |
Definition at line 593 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_compare().
| TEST | ( | StlComposition | , |
| DistinctThenMap | |||
| ) |
Definition at line 1467 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::stl_distinct(), and Aleph::stl_map().
| TEST | ( | StlComposition | , |
| FilterThenDistinct | |||
| ) |
Definition at line 1476 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::stl_distinct(), and Aleph::stl_filter().
| TEST | ( | StlComposition | , |
| GroupByThenMap | |||
| ) |
Definition at line 1485 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), Aleph::stl_foldl(), Aleph::stl_group_by(), and Aleph::stl_map().
| TEST | ( | StlConcat | , |
| Basic | |||
| ) |
Definition at line 669 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_concat().
| TEST | ( | StlCount | , |
| Basic | |||
| ) |
Definition at line 342 of file ah-stl-functional_test.cc.
References Aleph::count(), Aleph::maps(), and Aleph::stl_count().
| TEST | ( | StlCountValue | , |
| Basic | |||
| ) |
Definition at line 349 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_count_value().
| TEST | ( | StlDistinct | , |
| Basic | |||
| ) |
Definition at line 657 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctBoundary | , |
| ExactlyAtThreshold | |||
| ) |
Definition at line 1443 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctBoundary | , |
| JustAboveThreshold | |||
| ) |
Definition at line 1453 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctBoundary | , |
| JustBelowThreshold | |||
| ) |
Definition at line 1433 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctContainerTypes | , |
| Deque | |||
| ) |
Definition at line 1305 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctContainerTypes | , |
| List | |||
| ) |
Definition at line 1298 of file ah-stl-functional_test.cc.
References l, Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctCustomType | , |
| PointsLarge | |||
| ) |
Definition at line 1138 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctCustomType | , |
| PointsSmall | |||
| ) |
Definition at line 1128 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::stl_distinct(), and y.
| TEST | ( | StlDistinctEdgeCases | , |
| AllSame | |||
| ) |
Definition at line 1007 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctEdgeCases | , |
| AllUnique | |||
| ) |
Definition at line 1015 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::stl_distinct(), and Aleph::stl_range().
| TEST | ( | StlDistinctEdgeCases | , |
| EmptyContainer | |||
| ) |
Definition at line 992 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctEdgeCases | , |
| SingleElement | |||
| ) |
Definition at line 999 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctOrder | , |
| PreservesFirstOccurrence | |||
| ) |
Definition at line 1330 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctOrder | , |
| PreservesFirstOccurrenceLarge | |||
| ) |
Definition at line 1342 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctPerformance | , |
| LargeContainerUsesHashPath | |||
| ) |
Definition at line 928 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctPerformance | , |
| VeryLargeContainer | |||
| ) |
Definition at line 945 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctSmall | , |
| UsesLinearPath | |||
| ) |
Definition at line 1067 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctStrings | , |
| Basic | |||
| ) |
Definition at line 1391 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctStrings | , |
| Large | |||
| ) |
Definition at line 1402 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlDrop | , |
| Basic | |||
| ) |
Definition at line 369 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_drop().
| TEST | ( | StlDropWhile | , |
| Basic | |||
| ) |
Definition at line 398 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_drop_while().
| TEST | ( | StlEmptyContainer | , |
| ChunksReturnsEmpty | |||
| ) |
Definition at line 1828 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_chunks().
| TEST | ( | StlEmptyContainer | , |
| InterspersReturnsEmpty | |||
| ) |
Definition at line 1814 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_intersperse().
| TEST | ( | StlEmptyContainer | , |
| LastReturnsNullopt | |||
| ) |
Definition at line 1761 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_last().
| TEST | ( | StlEmptyContainer | , |
| MaxReturnsNullopt | |||
| ) |
Definition at line 1775 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_max().
| TEST | ( | StlEmptyContainer | , |
| MinReturnsNullopt | |||
| ) |
Definition at line 1768 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_min().
| TEST | ( | StlEmptyContainer | , |
| ProductReturnsZero | |||
| ) |
Definition at line 1782 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_product().
| TEST | ( | StlEmptyContainer | , |
| ScanLeftReturnsInit | |||
| ) |
Definition at line 1796 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_scan_left().
| TEST | ( | StlEmptyContainer | , |
| ScanRightReturnsInit | |||
| ) |
Definition at line 1805 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_scan_right().
| TEST | ( | StlEmptyContainer | , |
| SlidingWindowReturnsEmpty | |||
| ) |
Definition at line 1821 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_sliding_window().
| TEST | ( | StlEmptyContainer | , |
| SumReturnsZero | |||
| ) |
Definition at line 1789 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_sum().
| TEST | ( | StlEnumerateToPairs | , |
| Basic | |||
| ) |
Definition at line 553 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_enumerate_to_pairs().
| TEST | ( | StlEqual | , |
| Equal | |||
| ) |
Definition at line 569 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_equal().
| TEST | ( | StlEqual | , |
| NotEqual | |||
| ) |
Definition at line 577 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_equal().
| TEST | ( | StlExists | , |
| NoneTrue | |||
| ) |
Definition at line 267 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_exists().
| TEST | ( | StlExists | , |
| SomeTrue | |||
| ) |
Definition at line 261 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_exists().
| TEST | ( | StlFilter | , |
| Basic | |||
| ) |
Definition at line 162 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_filter().
| TEST | ( | StlFilterForwarding | , |
| MutableLambda | |||
| ) |
Definition at line 1267 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_filter().
| TEST | ( | StlFilteri | , |
| EvenIndices | |||
| ) |
Definition at line 172 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_filteri().
| TEST | ( | StlFind | , |
| Found | |||
| ) |
Definition at line 283 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_find().
| TEST | ( | StlFind | , |
| NotFound | |||
| ) |
Definition at line 292 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_find().
| TEST | ( | StlFindIndex | , |
| Found | |||
| ) |
Definition at line 309 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_find_index().
| TEST | ( | StlFindLast | , |
| Found | |||
| ) |
Definition at line 300 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_find_last().
| TEST | ( | StlFindMapi | , |
| Found | |||
| ) |
Definition at line 318 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_find_mapi().
| TEST | ( | StlFirst | , |
| Basic | |||
| ) |
Definition at line 411 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_first().
| TEST | ( | StlFirst | , |
| Empty | |||
| ) |
Definition at line 420 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_first().
| TEST | ( | StlFlatMap | , |
| Basic | |||
| ) |
Definition at line 692 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_flat_map().
| TEST | ( | StlFlatten | , |
| Basic | |||
| ) |
Definition at line 681 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_flatten().
| TEST | ( | StlFoldl | , |
| Product | |||
| ) |
Definition at line 194 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::product(), and Aleph::stl_foldl().
| TEST | ( | StlFoldl | , |
| Sum | |||
| ) |
Definition at line 187 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::stl_foldl(), and Aleph::sum().
| TEST | ( | StlFoldlForwarding | , |
| AccumulatorByValue | |||
| ) |
Definition at line 1283 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::stl_foldl(), and w.
| TEST | ( | StlFoldr | , |
| ListConstruction | |||
| ) |
Definition at line 209 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_foldr().
| TEST | ( | StlFoldr | , |
| Subtraction | |||
| ) |
Definition at line 201 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_foldr().
| TEST | ( | StlForEach | , |
| Basic | |||
| ) |
Definition at line 111 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::stl_for_each(), and Aleph::sum().
| TEST | ( | StlForEachIndexed | , |
| Basic | |||
| ) |
Definition at line 119 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_for_each_indexed().
| TEST | ( | StlForwardListCompat | , |
| Distinct | |||
| ) |
Definition at line 1529 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlForwardListCompat | , |
| Drop | |||
| ) |
Definition at line 1572 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_drop().
| TEST | ( | StlForwardListCompat | , |
| Filter | |||
| ) |
Definition at line 1512 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_filter().
| TEST | ( | StlForwardListCompat | , |
| Foldl | |||
| ) |
Definition at line 1521 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::stl_foldl(), and Aleph::sum().
| TEST | ( | StlForwardListCompat | , |
| GroupBy | |||
| ) |
Definition at line 1545 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_group_by().
| TEST | ( | StlForwardListCompat | , |
| Last | |||
| ) |
Definition at line 1553 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_last().
| TEST | ( | StlForwardListCompat | , |
| Map | |||
| ) |
Definition at line 1502 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_map().
| TEST | ( | StlForwardListCompat | , |
| TakeLast | |||
| ) |
Definition at line 1562 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_take_last().
| TEST | ( | StlForwardListCompat | , |
| Tally | |||
| ) |
Definition at line 1537 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlFunctional | , |
| WorksWithDeque | |||
| ) |
Definition at line 751 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_filter().
| TEST | ( | StlFunctional | , |
| WorksWithList | |||
| ) |
Definition at line 735 of file ah-stl-functional_test.cc.
References l, Aleph::maps(), Aleph::HTList::size(), Aleph::stl_foldl(), Aleph::stl_foldr(), Aleph::stl_map(), and Aleph::sum().
| TEST | ( | StlGenerate | , |
| Basic | |||
| ) |
Definition at line 98 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_generate().
| TEST | ( | StlGroup | , |
| Basic | |||
| ) |
Definition at line 710 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::size(), and Aleph::stl_group().
| TEST | ( | StlGroupBy | , |
| Basic | |||
| ) |
Definition at line 722 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByContainerTypes | , |
| List | |||
| ) |
Definition at line 1319 of file ah-stl-functional_test.cc.
References l, Aleph::maps(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByCustomType | , |
| PointsByQuadrant | |||
| ) |
Definition at line 1164 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByEdgeCases | , |
| AllSameKey | |||
| ) |
Definition at line 1054 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByEdgeCases | , |
| EmptyContainer | |||
| ) |
Definition at line 1038 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByEdgeCases | , |
| SingleElement | |||
| ) |
Definition at line 1045 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByOrder | , |
| PreservesFirstOccurrence | |||
| ) |
Definition at line 1375 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByPerformance | , |
| LargeContainerUsesHashPath | |||
| ) |
Definition at line 973 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByStrings | , |
| ByFirstChar | |||
| ) |
Definition at line 1421 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByStrings | , |
| ByLength | |||
| ) |
Definition at line 1413 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_group_by().
| TEST | ( | StlInit | , |
| Basic | |||
| ) |
Definition at line 886 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_init().
| TEST | ( | StlIntersperse | , |
| Basic | |||
| ) |
Definition at line 860 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_intersperse().
| TEST | ( | StlLast | , |
| Basic | |||
| ) |
Definition at line 428 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_last().
| TEST | ( | StlLinspace | , |
| Basic | |||
| ) |
Definition at line 82 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_linspace().
| TEST | ( | StlMap | , |
| Basic | |||
| ) |
Definition at line 131 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_map().
| TEST | ( | StlMap | , |
| TypeChange | |||
| ) |
Definition at line 142 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_map().
| TEST | ( | StlMapForwarding | , |
| LambdaWithCapture | |||
| ) |
Definition at line 1253 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::prefix(), and Aleph::stl_map().
| TEST | ( | StlMapi | , |
| Basic | |||
| ) |
Definition at line 151 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_mapi().
| TEST | ( | StlMax | , |
| Basic | |||
| ) |
Definition at line 459 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_max().
| TEST | ( | StlMaxBy | , |
| Basic | |||
| ) |
Definition at line 487 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_max_by().
| TEST | ( | StlMem | , |
| Found | |||
| ) |
Definition at line 331 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_mem().
| TEST | ( | StlMin | , |
| Basic | |||
| ) |
Definition at line 450 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_min().
| TEST | ( | StlMinBy | , |
| Basic | |||
| ) |
Definition at line 478 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_min_by().
| TEST | ( | StlMinMax | , |
| Basic | |||
| ) |
Definition at line 468 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_min_max().
| TEST | ( | StlNone | , |
| Basic | |||
| ) |
Definition at line 273 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_none().
| TEST | ( | StlNonHashable | , |
| DistinctLarge | |||
| ) |
Definition at line 1608 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlNonHashable | , |
| DistinctSmall | |||
| ) |
Definition at line 1600 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_distinct().
| TEST | ( | StlNonHashable | , |
| GroupByWithNonHashableKey | |||
| ) |
Definition at line 1635 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_group_by().
| TEST | ( | StlNonHashable | , |
| TallySmall | |||
| ) |
Definition at line 1622 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlNth | , |
| Basic | |||
| ) |
Definition at line 437 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_nth().
| TEST | ( | StlPartition | , |
| Basic | |||
| ) |
Definition at line 516 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_partition().
| TEST | ( | StlPermutations | , |
| Basic | |||
| ) |
Definition at line 763 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_permutations().
| TEST | ( | StlPermutations | , |
| TraverseWithStop | |||
| ) |
Definition at line 771 of file ah-stl-functional_test.cc.
References Aleph::completed(), Aleph::count(), Aleph::maps(), and Aleph::stl_traverse_permutations().
| TEST | ( | StlPowerSet | , |
| Basic | |||
| ) |
Definition at line 825 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_power_set().
| TEST | ( | StlPowerSetOverflow | , |
| ThrowsForLargeContainer | |||
| ) |
Definition at line 1839 of file ah-stl-functional_test.cc.
References StlAlephIterator< SetName >::begin(), StlAlephIterator< SetName >::end(), Aleph::maps(), and Aleph::stl_power_set().
| TEST | ( | StlPowerSetOverflow | , |
| WorksForSmallContainer | |||
| ) |
Definition at line 1848 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_power_set().
| TEST | ( | StlProduct | , |
| Basic | |||
| ) |
Definition at line 506 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_product().
| TEST | ( | StlRange | , |
| BasicRange | |||
| ) |
Definition at line 58 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_range().
| TEST | ( | StlRange | , |
| RangeWithStep | |||
| ) |
Definition at line 66 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_range().
| TEST | ( | StlRange | , |
| SingleArgRange | |||
| ) |
Definition at line 74 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_range().
| TEST | ( | StlReject | , |
| Basic | |||
| ) |
Definition at line 916 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_reject().
| TEST | ( | StlRep | , |
| Basic | |||
| ) |
Definition at line 90 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_rep().
| TEST | ( | StlReverse | , |
| Basic | |||
| ) |
Definition at line 613 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_reverse().
| TEST | ( | StlScanLeft | , |
| RunningSum | |||
| ) |
Definition at line 219 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_scan_left().
| TEST | ( | StlScanRight | , |
| Basic | |||
| ) |
Definition at line 232 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_scan_right().
| TEST | ( | StlSlidingWindow | , |
| Basic | |||
| ) |
Definition at line 838 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_sliding_window().
| TEST | ( | StlSort | , |
| Basic | |||
| ) |
Definition at line 622 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_sort().
| TEST | ( | StlSortBy | , |
| Basic | |||
| ) |
Definition at line 631 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_sort_by().
| TEST | ( | StlSpan | , |
| Basic | |||
| ) |
Definition at line 877 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_span().
| TEST | ( | StlSplitAt | , |
| Basic | |||
| ) |
Definition at line 868 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_split_at().
| TEST | ( | StlStatefulCallable | , |
| AllPreservesState | |||
| ) |
Definition at line 1729 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_all().
| TEST | ( | StlStatefulCallable | , |
| ExistsStopsEarly | |||
| ) |
Definition at line 1743 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_exists().
| TEST | ( | StlStatefulCallable | , |
| FilterPreservesState | |||
| ) |
Definition at line 1686 of file ah-stl-functional_test.cc.
References Aleph::maps(), pred, and Aleph::stl_filter().
| TEST | ( | StlStatefulCallable | , |
| ForEachPreservesState | |||
| ) |
Definition at line 1712 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::stl_for_each(), and Aleph::sum().
| TEST | ( | StlStatefulCallable | , |
| MapPreservesState | |||
| ) |
Definition at line 1699 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_map().
| TEST | ( | StlSum | , |
| Basic | |||
| ) |
Definition at line 500 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_sum().
| TEST | ( | StlTail | , |
| Basic | |||
| ) |
Definition at line 894 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_tail().
| TEST | ( | StlTake | , |
| Basic | |||
| ) |
Definition at line 359 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_take().
| TEST | ( | StlTakeLast | , |
| Basic | |||
| ) |
Definition at line 379 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_take_last().
| TEST | ( | StlTakeWhile | , |
| Basic | |||
| ) |
Definition at line 389 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_take_while().
| TEST | ( | StlTally | , |
| Basic | |||
| ) |
Definition at line 902 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlTallyContainerTypes | , |
| List | |||
| ) |
Definition at line 1312 of file ah-stl-functional_test.cc.
References l, Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlTallyCustomType | , |
| Points | |||
| ) |
Definition at line 1151 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlTallyEdgeCases | , |
| EmptyContainer | |||
| ) |
Definition at line 1022 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlTallyEdgeCases | , |
| SingleElement | |||
| ) |
Definition at line 1029 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlTallyOrder | , |
| PreservesFirstOccurrence | |||
| ) |
Definition at line 1359 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlTallyPerformance | , |
| LargeContainerUsesHashPath | |||
| ) |
Definition at line 958 of file ah-stl-functional_test.cc.
References Aleph::count(), Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlTallySmall | , |
| UsesLinearPath | |||
| ) |
Definition at line 1078 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_tally().
| TEST | ( | StlUnique | , |
| Basic | |||
| ) |
Definition at line 646 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_unique().
| TEST | ( | StlUnzipPairs | , |
| Basic | |||
| ) |
Definition at line 541 of file ah-stl-functional_test.cc.
References Aleph::maps(), Aleph::HTList::size(), and Aleph::stl_unzip_pairs().
| TEST | ( | StlZipToPairs | , |
| Basic | |||
| ) |
Definition at line 529 of file ah-stl-functional_test.cc.
References Aleph::maps(), and Aleph::stl_zip_to_pairs().