|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Ah Stl Functional. More...
#include <gtest/gtest.h>#include <numeric>#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 1858 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | StlAll | , |
| AllTrue | |||
| ) |
Definition at line 250 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_all().
| TEST | ( | StlAll | , |
| SomeFalse | |||
| ) |
Definition at line 256 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_all().
| TEST | ( | StlArrangements | , |
| ChooseTwo | |||
| ) |
Definition at line 808 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_arrangements().
| TEST | ( | StlCartesianProduct | , |
| Basic | |||
| ) |
Definition at line 817 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::product(), and Aleph::stl_cartesian_product().
| TEST | ( | StlChunks | , |
| Basic | |||
| ) |
Definition at line 850 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_chunks().
| TEST | ( | StlCombinations | , |
| ChooseThree | |||
| ) |
Definition at line 799 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_combinations().
| TEST | ( | StlCombinations | , |
| ChooseTwo | |||
| ) |
Definition at line 786 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_combinations().
| TEST | ( | StlCompare | , |
| Equal | |||
| ) |
Definition at line 586 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_compare().
| TEST | ( | StlCompare | , |
| Greater | |||
| ) |
Definition at line 602 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_compare().
| TEST | ( | StlCompare | , |
| Less | |||
| ) |
Definition at line 594 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_compare().
| TEST | ( | StlComposition | , |
| DistinctThenMap | |||
| ) |
Definition at line 1468 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_distinct(), and Aleph::stl_map().
| TEST | ( | StlComposition | , |
| FilterThenDistinct | |||
| ) |
Definition at line 1477 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_distinct(), and Aleph::stl_filter().
| TEST | ( | StlComposition | , |
| GroupByThenMap | |||
| ) |
Definition at line 1486 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_foldl(), Aleph::stl_group_by(), and Aleph::stl_map().
| TEST | ( | StlConcat | , |
| Basic | |||
| ) |
Definition at line 670 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_concat().
| TEST | ( | StlCount | , |
| Basic | |||
| ) |
Definition at line 343 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::count(), and Aleph::stl_count().
| TEST | ( | StlCountValue | , |
| Basic | |||
| ) |
Definition at line 350 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_count_value().
| TEST | ( | StlDistinct | , |
| Basic | |||
| ) |
Definition at line 658 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctBoundary | , |
| ExactlyAtThreshold | |||
| ) |
Definition at line 1444 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctBoundary | , |
| JustAboveThreshold | |||
| ) |
Definition at line 1454 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctBoundary | , |
| JustBelowThreshold | |||
| ) |
Definition at line 1434 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctContainerTypes | , |
| Deque | |||
| ) |
Definition at line 1306 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctContainerTypes | , |
| List | |||
| ) |
Definition at line 1299 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), l, and Aleph::stl_distinct().
| TEST | ( | StlDistinctCustomType | , |
| PointsLarge | |||
| ) |
Definition at line 1139 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctCustomType | , |
| PointsSmall | |||
| ) |
Definition at line 1129 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_distinct(), and y.
| TEST | ( | StlDistinctEdgeCases | , |
| AllSame | |||
| ) |
Definition at line 1008 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctEdgeCases | , |
| AllUnique | |||
| ) |
Definition at line 1016 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_distinct(), and Aleph::stl_range().
| TEST | ( | StlDistinctEdgeCases | , |
| EmptyContainer | |||
| ) |
Definition at line 993 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctEdgeCases | , |
| SingleElement | |||
| ) |
Definition at line 1000 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctOrder | , |
| PreservesFirstOccurrence | |||
| ) |
Definition at line 1331 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctOrder | , |
| PreservesFirstOccurrenceLarge | |||
| ) |
Definition at line 1343 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctPerformance | , |
| LargeContainerUsesHashPath | |||
| ) |
Definition at line 929 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctPerformance | , |
| VeryLargeContainer | |||
| ) |
Definition at line 946 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctSmall | , |
| UsesLinearPath | |||
| ) |
Definition at line 1068 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctStrings | , |
| Basic | |||
| ) |
Definition at line 1392 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDistinctStrings | , |
| Large | |||
| ) |
Definition at line 1403 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlDrop | , |
| Basic | |||
| ) |
Definition at line 370 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_drop().
| TEST | ( | StlDropWhile | , |
| Basic | |||
| ) |
Definition at line 399 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_drop_while().
| TEST | ( | StlEmptyContainer | , |
| ChunksReturnsEmpty | |||
| ) |
Definition at line 1829 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_chunks().
| TEST | ( | StlEmptyContainer | , |
| InterspersReturnsEmpty | |||
| ) |
Definition at line 1815 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_intersperse().
| TEST | ( | StlEmptyContainer | , |
| LastReturnsNullopt | |||
| ) |
Definition at line 1762 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_last().
| TEST | ( | StlEmptyContainer | , |
| MaxReturnsNullopt | |||
| ) |
Definition at line 1776 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_max().
| TEST | ( | StlEmptyContainer | , |
| MinReturnsNullopt | |||
| ) |
Definition at line 1769 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_min().
| TEST | ( | StlEmptyContainer | , |
| ProductReturnsZero | |||
| ) |
Definition at line 1783 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_product().
| TEST | ( | StlEmptyContainer | , |
| ScanLeftReturnsInit | |||
| ) |
Definition at line 1797 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_scan_left().
| TEST | ( | StlEmptyContainer | , |
| ScanRightReturnsInit | |||
| ) |
Definition at line 1806 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_scan_right().
| TEST | ( | StlEmptyContainer | , |
| SlidingWindowReturnsEmpty | |||
| ) |
Definition at line 1822 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_sliding_window().
| TEST | ( | StlEmptyContainer | , |
| SumReturnsZero | |||
| ) |
Definition at line 1790 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_sum().
| TEST | ( | StlEnumerateToPairs | , |
| Basic | |||
| ) |
Definition at line 554 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_enumerate_to_pairs().
| TEST | ( | StlEqual | , |
| Equal | |||
| ) |
Definition at line 570 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_equal().
| TEST | ( | StlEqual | , |
| NotEqual | |||
| ) |
Definition at line 578 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_equal().
| TEST | ( | StlExists | , |
| NoneTrue | |||
| ) |
Definition at line 268 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_exists().
| TEST | ( | StlExists | , |
| SomeTrue | |||
| ) |
Definition at line 262 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_exists().
| TEST | ( | StlFilter | , |
| Basic | |||
| ) |
Definition at line 163 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_filter().
| TEST | ( | StlFilterForwarding | , |
| MutableLambda | |||
| ) |
Definition at line 1268 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_filter().
| TEST | ( | StlFilteri | , |
| EvenIndices | |||
| ) |
Definition at line 173 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_filteri().
| TEST | ( | StlFind | , |
| Found | |||
| ) |
Definition at line 284 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_find().
| TEST | ( | StlFind | , |
| NotFound | |||
| ) |
Definition at line 293 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_find().
| TEST | ( | StlFindIndex | , |
| Found | |||
| ) |
Definition at line 310 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_find_index().
| TEST | ( | StlFindLast | , |
| Found | |||
| ) |
Definition at line 301 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_find_last().
| TEST | ( | StlFindMapi | , |
| Found | |||
| ) |
Definition at line 319 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_find_mapi().
| TEST | ( | StlFirst | , |
| Basic | |||
| ) |
Definition at line 412 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_first().
| TEST | ( | StlFirst | , |
| Empty | |||
| ) |
Definition at line 421 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_first().
| TEST | ( | StlFlatMap | , |
| Basic | |||
| ) |
Definition at line 693 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_flat_map().
| TEST | ( | StlFlatten | , |
| Basic | |||
| ) |
Definition at line 682 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_flatten().
| TEST | ( | StlFoldl | , |
| Product | |||
| ) |
Definition at line 195 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::product(), and Aleph::stl_foldl().
| TEST | ( | StlFoldl | , |
| Sum | |||
| ) |
Definition at line 188 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_foldl(), and Aleph::sum().
| TEST | ( | StlFoldlForwarding | , |
| AccumulatorByValue | |||
| ) |
Definition at line 1284 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_foldl(), and w.
| TEST | ( | StlFoldr | , |
| ListConstruction | |||
| ) |
Definition at line 210 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_foldr().
| TEST | ( | StlFoldr | , |
| Subtraction | |||
| ) |
Definition at line 202 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_foldr().
| TEST | ( | StlForEach | , |
| Basic | |||
| ) |
Definition at line 112 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_for_each(), and Aleph::sum().
| TEST | ( | StlForEachIndexed | , |
| Basic | |||
| ) |
Definition at line 120 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_for_each_indexed().
| TEST | ( | StlForwardListCompat | , |
| Distinct | |||
| ) |
Definition at line 1530 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlForwardListCompat | , |
| Drop | |||
| ) |
Definition at line 1573 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_drop().
| TEST | ( | StlForwardListCompat | , |
| Filter | |||
| ) |
Definition at line 1513 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_filter().
| TEST | ( | StlForwardListCompat | , |
| Foldl | |||
| ) |
Definition at line 1522 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_foldl(), and Aleph::sum().
| TEST | ( | StlForwardListCompat | , |
| GroupBy | |||
| ) |
Definition at line 1546 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlForwardListCompat | , |
| Last | |||
| ) |
Definition at line 1554 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_last().
| TEST | ( | StlForwardListCompat | , |
| Map | |||
| ) |
Definition at line 1503 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_map().
| TEST | ( | StlForwardListCompat | , |
| TakeLast | |||
| ) |
Definition at line 1563 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_take_last().
| TEST | ( | StlForwardListCompat | , |
| Tally | |||
| ) |
Definition at line 1538 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_tally().
| TEST | ( | StlFunctional | , |
| WorksWithDeque | |||
| ) |
Definition at line 752 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_filter().
| TEST | ( | StlFunctional | , |
| WorksWithList | |||
| ) |
Definition at line 736 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), l, Aleph::stl_foldl(), Aleph::stl_foldr(), Aleph::stl_map(), and Aleph::sum().
| TEST | ( | StlGenerate | , |
| Basic | |||
| ) |
Definition at line 99 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::stl_generate().
| TEST | ( | StlGroup | , |
| Basic | |||
| ) |
Definition at line 711 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::size(), and Aleph::stl_group().
| TEST | ( | StlGroupBy | , |
| Basic | |||
| ) |
Definition at line 723 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByContainerTypes | , |
| List | |||
| ) |
Definition at line 1320 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), l, and Aleph::stl_group_by().
| TEST | ( | StlGroupByCustomType | , |
| PointsByQuadrant | |||
| ) |
Definition at line 1165 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByEdgeCases | , |
| AllSameKey | |||
| ) |
Definition at line 1055 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByEdgeCases | , |
| EmptyContainer | |||
| ) |
Definition at line 1039 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByEdgeCases | , |
| SingleElement | |||
| ) |
Definition at line 1046 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByOrder | , |
| PreservesFirstOccurrence | |||
| ) |
Definition at line 1376 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByPerformance | , |
| LargeContainerUsesHashPath | |||
| ) |
Definition at line 974 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByStrings | , |
| ByFirstChar | |||
| ) |
Definition at line 1422 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlGroupByStrings | , |
| ByLength | |||
| ) |
Definition at line 1414 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlInit | , |
| Basic | |||
| ) |
Definition at line 887 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_init().
| TEST | ( | StlIntersperse | , |
| Basic | |||
| ) |
Definition at line 861 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_intersperse().
| TEST | ( | StlLast | , |
| Basic | |||
| ) |
Definition at line 429 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_last().
| TEST | ( | StlLinspace | , |
| Basic | |||
| ) |
Definition at line 83 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::stl_linspace().
| TEST | ( | StlMap | , |
| Basic | |||
| ) |
Definition at line 132 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_map().
| TEST | ( | StlMap | , |
| TypeChange | |||
| ) |
Definition at line 143 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_map().
| TEST | ( | StlMapForwarding | , |
| LambdaWithCapture | |||
| ) |
Definition at line 1254 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::prefix(), and Aleph::stl_map().
| TEST | ( | StlMapi | , |
| Basic | |||
| ) |
Definition at line 152 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_mapi().
| TEST | ( | StlMax | , |
| Basic | |||
| ) |
Definition at line 460 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_max().
| TEST | ( | StlMaxBy | , |
| Basic | |||
| ) |
Definition at line 488 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_max_by().
| TEST | ( | StlMem | , |
| Found | |||
| ) |
Definition at line 332 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_mem().
| TEST | ( | StlMin | , |
| Basic | |||
| ) |
Definition at line 451 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_min().
| TEST | ( | StlMinBy | , |
| Basic | |||
| ) |
Definition at line 479 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_min_by().
| TEST | ( | StlMinMax | , |
| Basic | |||
| ) |
Definition at line 469 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_min_max().
| TEST | ( | StlNone | , |
| Basic | |||
| ) |
Definition at line 274 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_none().
| TEST | ( | StlNonHashable | , |
| DistinctLarge | |||
| ) |
Definition at line 1609 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlNonHashable | , |
| DistinctSmall | |||
| ) |
Definition at line 1601 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_distinct().
| TEST | ( | StlNonHashable | , |
| GroupByWithNonHashableKey | |||
| ) |
Definition at line 1636 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_group_by().
| TEST | ( | StlNonHashable | , |
| TallySmall | |||
| ) |
Definition at line 1623 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_tally().
| TEST | ( | StlNth | , |
| Basic | |||
| ) |
Definition at line 438 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_nth().
| TEST | ( | StlPartition | , |
| Basic | |||
| ) |
Definition at line 517 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_partition().
| TEST | ( | StlPermutations | , |
| Basic | |||
| ) |
Definition at line 764 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_permutations().
| TEST | ( | StlPermutations | , |
| TraverseWithStop | |||
| ) |
Definition at line 772 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::completed(), Aleph::count(), and Aleph::stl_traverse_permutations().
| TEST | ( | StlPowerSet | , |
| Basic | |||
| ) |
Definition at line 826 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_power_set().
| TEST | ( | StlPowerSetOverflow | , |
| ThrowsForLargeContainer | |||
| ) |
Definition at line 1840 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_power_set().
| TEST | ( | StlPowerSetOverflow | , |
| WorksForSmallContainer | |||
| ) |
Definition at line 1849 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_power_set().
| TEST | ( | StlProduct | , |
| Basic | |||
| ) |
Definition at line 507 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_product().
| TEST | ( | StlRange | , |
| BasicRange | |||
| ) |
Definition at line 59 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::stl_range().
| TEST | ( | StlRange | , |
| RangeWithStep | |||
| ) |
Definition at line 67 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::stl_range().
| TEST | ( | StlRange | , |
| SingleArgRange | |||
| ) |
Definition at line 75 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::stl_range().
| TEST | ( | StlReject | , |
| Basic | |||
| ) |
Definition at line 917 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_reject().
| TEST | ( | StlRep | , |
| Basic | |||
| ) |
Definition at line 91 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), r, and Aleph::stl_rep().
| TEST | ( | StlReverse | , |
| Basic | |||
| ) |
Definition at line 614 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_reverse().
| TEST | ( | StlScanLeft | , |
| RunningSum | |||
| ) |
Definition at line 220 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_scan_left().
| TEST | ( | StlScanRight | , |
| Basic | |||
| ) |
Definition at line 233 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_scan_right().
| TEST | ( | StlSlidingWindow | , |
| Basic | |||
| ) |
Definition at line 839 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_sliding_window().
| TEST | ( | StlSort | , |
| Basic | |||
| ) |
Definition at line 623 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_sort().
| TEST | ( | StlSortBy | , |
| Basic | |||
| ) |
Definition at line 632 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_sort_by().
| TEST | ( | StlSpan | , |
| Basic | |||
| ) |
Definition at line 878 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_span().
| TEST | ( | StlSplitAt | , |
| Basic | |||
| ) |
Definition at line 869 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_split_at().
| TEST | ( | StlStatefulCallable | , |
| AllPreservesState | |||
| ) |
Definition at line 1730 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_all().
| TEST | ( | StlStatefulCallable | , |
| ExistsStopsEarly | |||
| ) |
Definition at line 1744 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_exists().
| TEST | ( | StlStatefulCallable | , |
| FilterPreservesState | |||
| ) |
Definition at line 1687 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), pred, and Aleph::stl_filter().
| TEST | ( | StlStatefulCallable | , |
| ForEachPreservesState | |||
| ) |
Definition at line 1713 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::stl_for_each(), and Aleph::sum().
| TEST | ( | StlStatefulCallable | , |
| MapPreservesState | |||
| ) |
Definition at line 1700 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_map().
| TEST | ( | StlSum | , |
| Basic | |||
| ) |
Definition at line 501 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_sum().
| TEST | ( | StlTail | , |
| Basic | |||
| ) |
Definition at line 895 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_tail().
| TEST | ( | StlTake | , |
| Basic | |||
| ) |
Definition at line 360 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_take().
| TEST | ( | StlTakeLast | , |
| Basic | |||
| ) |
Definition at line 380 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_take_last().
| TEST | ( | StlTakeWhile | , |
| Basic | |||
| ) |
Definition at line 390 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_take_while().
| TEST | ( | StlTally | , |
| Basic | |||
| ) |
Definition at line 903 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_tally().
| TEST | ( | StlTallyContainerTypes | , |
| List | |||
| ) |
Definition at line 1313 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), l, and Aleph::stl_tally().
| TEST | ( | StlTallyCustomType | , |
| Points | |||
| ) |
Definition at line 1152 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_tally().
| TEST | ( | StlTallyEdgeCases | , |
| EmptyContainer | |||
| ) |
Definition at line 1023 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_tally().
| TEST | ( | StlTallyEdgeCases | , |
| SingleElement | |||
| ) |
Definition at line 1030 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_tally().
| TEST | ( | StlTallyOrder | , |
| PreservesFirstOccurrence | |||
| ) |
Definition at line 1360 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_tally().
| TEST | ( | StlTallyPerformance | , |
| LargeContainerUsesHashPath | |||
| ) |
Definition at line 959 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::count(), and Aleph::stl_tally().
| TEST | ( | StlTallySmall | , |
| UsesLinearPath | |||
| ) |
Definition at line 1079 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_tally().
| TEST | ( | StlUnique | , |
| Basic | |||
| ) |
Definition at line 647 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_unique().
| TEST | ( | StlUnzipPairs | , |
| Basic | |||
| ) |
Definition at line 542 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_unzip_pairs().
| TEST | ( | StlZipToPairs | , |
| Basic | |||
| ) |
Definition at line 530 of file ah-stl-functional_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::stl_zip_to_pairs().