|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Comprehensive tests for ah-parallel.H parallel functional operations. More...
#include <gtest/gtest.h>#include <climits>#include <cstdlib>#include <ah-parallel.H>#include <vector>#include <list>#include <deque>#include <array>#include <string>#include <numeric>#include <atomic>#include <chrono>#include <random>#include <algorithm>#include <cmath>Go to the source code of this file.
Classes | |
| class | ParallelTest |
Functions | |
| TEST_F (ParallelTest, PmapsSquare) | |
| TEST_F (ParallelTest, PmapsTypeConversion) | |
| TEST_F (ParallelTest, PmapsToString) | |
| TEST_F (ParallelTest, PmapsEmpty) | |
| TEST_F (ParallelTest, PmapsSingle) | |
| TEST_F (ParallelTest, PmapsLargeData) | |
| TEST_F (ParallelTest, PmapsWithList) | |
| TEST_F (ParallelTest, PmapsPreservesOrder) | |
| TEST_F (ParallelTest, PmapsAcceptsParallelOptions) | |
| TEST_F (ParallelTest, PfilterEvens) | |
| TEST_F (ParallelTest, PfilterOdds) | |
| TEST_F (ParallelTest, PfilterNone) | |
| TEST_F (ParallelTest, PfilterAll) | |
| TEST_F (ParallelTest, PfilterEmpty) | |
| TEST_F (ParallelTest, PfilterPreservesOrder) | |
| TEST_F (ParallelTest, PfilterLargeData) | |
| TEST_F (ParallelTest, ParallelAlgorithmsHonorCancellation) | |
| TEST_F (ParallelTest, PfoldlSum) | |
| TEST_F (ParallelTest, PfoldlProduct) | |
| TEST_F (ParallelTest, PfoldlMax) | |
| TEST_F (ParallelTest, PfoldlEmpty) | |
| TEST_F (ParallelTest, PfoldlLargeData) | |
| TEST_F (ParallelTest, PforEachModify) | |
| TEST_F (ParallelTest, PforEachAtomic) | |
| TEST_F (ParallelTest, PforEachEmpty) | |
| TEST_F (ParallelTest, PforEachAcceptsDefaultPoolThroughOptions) | |
| TEST_F (ParallelTest, PallTrue) | |
| TEST_F (ParallelTest, PallFalse) | |
| TEST_F (ParallelTest, PallEmpty) | |
| TEST_F (ParallelTest, PexistsTrue) | |
| TEST_F (ParallelTest, PexistsFalse) | |
| TEST_F (ParallelTest, PexistsEmpty) | |
| TEST_F (ParallelTest, PnoneTrue) | |
| TEST_F (ParallelTest, PnoneFalse) | |
| TEST_F (ParallelTest, PcountIfEvens) | |
| TEST_F (ParallelTest, PcountIfDivisibleByHundred) | |
| TEST_F (ParallelTest, PcountIfAll) | |
| TEST_F (ParallelTest, PcountIfNone) | |
| TEST_F (ParallelTest, PcountIfLargeData) | |
| TEST_F (ParallelTest, PfindFound) | |
| TEST_F (ParallelTest, PfindNotFound) | |
| TEST_F (ParallelTest, PfindFirst) | |
| TEST_F (ParallelTest, PfindEmpty) | |
| TEST_F (ParallelTest, PfindAcceptsParallelOptions) | |
| TEST_F (ParallelTest, PfindValueFound) | |
| TEST_F (ParallelTest, Psum) | |
| TEST_F (ParallelTest, PsumWithInit) | |
| TEST_F (ParallelTest, PsumEmpty) | |
| TEST_F (ParallelTest, PsumLargeData) | |
| TEST_F (ParallelTest, Pproduct) | |
| TEST_F (ParallelTest, PproductEmpty) | |
| TEST_F (ParallelTest, Pmin) | |
| TEST_F (ParallelTest, Pmax) | |
| TEST_F (ParallelTest, PminEmpty) | |
| TEST_F (ParallelTest, PmaxEmpty) | |
| TEST_F (ParallelTest, Pminmax) | |
| TEST_F (ParallelTest, PminmaxShuffle) | |
| TEST_F (ParallelTest, PminmaxLargeData) | |
| TEST_F (ParallelTest, PsortBasic) | |
| TEST_F (ParallelTest, PsortDescending) | |
| TEST_F (ParallelTest, PsortEmpty) | |
| TEST_F (ParallelTest, PsortSingle) | |
| TEST_F (ParallelTest, PsortAlreadySorted) | |
| TEST_F (ParallelTest, PsortLargeData) | |
| TEST_F (ParallelTest, PsortAcceptsParallelOptions) | |
| TEST_F (ParallelTest, PsortHonorsCancellation) | |
| TEST_F (ParallelTest, PzipForEachBasic) | |
| TEST_F (ParallelTest, PzipForEachDifferentLengths) | |
| TEST_F (ParallelTest, PzipForEachEmpty) | |
| TEST_F (ParallelTest, PzipMapsBasic) | |
| TEST_F (ParallelTest, PzipMapsTypeConversion) | |
| TEST_F (ParallelTest, ZipAlgorithmsAcceptParallelOptions) | |
| TEST_F (ParallelTest, PpartitionBasic) | |
| TEST_F (ParallelTest, PpartitionAllTrue) | |
| TEST_F (ParallelTest, PpartitionAllFalse) | |
| TEST_F (ParallelTest, PpartitionEmpty) | |
| TEST_F (ParallelTest, PpartitionPreservesOrder) | |
| TEST_F (ParallelTest, PpartitionAcceptsParallelOptions) | |
| TEST_F (ParallelTest, PpartitionSupportsNonDefaultConstructibleValues) | |
| TEST_F (ParallelTest, PpartitionHonorsCancellation) | |
| TEST_F (ParallelTest, PfilterSupportsNonDefaultConstructibleValues) | |
| TEST_F (ParallelTest, PscanContainerWrapperMatchesPartialSum) | |
| TEST_F (ParallelTest, PexclusiveScanContainerWrapperWorks) | |
| TEST_F (ParallelTest, ScanAndMergeAcceptParallelOptions) | |
| TEST_F (ParallelTest, ScanAndMergeHonorCancellation) | |
| TEST_F (ParallelTest, ScanAndMergeSupportNonDefaultConstructibleValues) | |
| TEST_F (ParallelTest, CorrectnessMapVsSequential) | |
| TEST_F (ParallelTest, CorrectnessFilterVsSequential) | |
| TEST_F (ParallelTest, CorrectnessFoldVsSequential) | |
| TEST_F (ParallelTest, BenchmarkMapSpeedup) | |
| TEST_F (ParallelTest, BenchmarkFilterSpeedup) | |
| TEST_F (ParallelTest, BenchmarkSortSpeedup) | |
| TEST_F (ParallelTest, ThreadSafetyConcurrentOperations) | |
| TEST_F (ParallelTest, EdgeCaseSingleThread) | |
| TEST_F (ParallelTest, EdgeCaseManyThreads) | |
| TEST_F (ParallelTest, EdgeCaseVeryLargeData) | |
| TEST_F (ParallelTest, PzipForEachN3Containers) | |
| TEST_F (ParallelTest, PzipForEachN4Containers) | |
| TEST_F (ParallelTest, PzipForEachNDifferentLengths) | |
| TEST_F (ParallelTest, PzipMapsN3Containers) | |
| TEST_F (ParallelTest, PzipMapsNEmpty) | |
| TEST_F (ParallelTest, PzipFoldlNVariadic) | |
| TEST_F (ParallelTest, PzipAllN3ContainersTrue) | |
| TEST_F (ParallelTest, PzipAllN3ContainersFalse) | |
| TEST_F (ParallelTest, PzipExistsNTrue) | |
| TEST_F (ParallelTest, PzipExistsNFalse) | |
| TEST_F (ParallelTest, PzipCountIfN) | |
| TEST_F (ParallelTest, PzipCountIfNPartial) | |
| TEST_F (ParallelTest, VariadicZipAlgorithmsAcceptParallelOptions) | |
| TEST_F (ParallelTest, PenumerateForEachModify) | |
| TEST_F (ParallelTest, PenumerateForEachConst) | |
| TEST_F (ParallelTest, PenumerateMaps) | |
| TEST_F (ParallelTest, PenumerateMapsEmpty) | |
| TEST_F (ParallelTest, PenumerateAcceptsParallelOptions) | |
| TEST_F (ParallelTest, ZipAndEnumerateHonorCancellation) | |
| TEST_F (ParallelTest, PzipForEachNLargeData) | |
| TEST_F (ParallelTest, PzipMapsNLargeData) | |
| TEST_F (ParallelTest, CorrectnessZipNVsSequential) | |
| int | main (int argc, char **argv) |
Comprehensive tests for ah-parallel.H parallel functional operations.
Definition in file ah_parallel_test.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 1505 of file ah_parallel_test.cc.
| TEST_F | ( | ParallelTest | , |
| BenchmarkFilterSpeedup | |||
| ) |
Definition at line 1029 of file ah_parallel_test.cc.
References Aleph::pfilter(), and pred.
| TEST_F | ( | ParallelTest | , |
| BenchmarkMapSpeedup | |||
| ) |
Definition at line 985 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| BenchmarkSortSpeedup | |||
| ) |
Definition at line 1068 of file ah_parallel_test.cc.
References Aleph::psort(), and rng.
| TEST_F | ( | ParallelTest | , |
| CorrectnessFilterVsSequential | |||
| ) |
Definition at line 945 of file ah_parallel_test.cc.
References Aleph::pfilter().
| TEST_F | ( | ParallelTest | , |
| CorrectnessFoldVsSequential | |||
| ) |
Definition at line 959 of file ah_parallel_test.cc.
References LL, and Aleph::pfoldl().
| TEST_F | ( | ParallelTest | , |
| CorrectnessMapVsSequential | |||
| ) |
Definition at line 932 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| CorrectnessZipNVsSequential | |||
| ) |
Definition at line 1485 of file ah_parallel_test.cc.
References Aleph::pzip_maps_n(), and y.
| TEST_F | ( | ParallelTest | , |
| EdgeCaseManyThreads | |||
| ) |
Definition at line 1146 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| EdgeCaseSingleThread | |||
| ) |
Definition at line 1138 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| EdgeCaseVeryLargeData | |||
| ) |
Definition at line 1154 of file ah_parallel_test.cc.
References LL, and Aleph::sum().
| TEST_F | ( | ParallelTest | , |
| PallEmpty | |||
| ) |
Definition at line 310 of file ah_parallel_test.cc.
References Aleph::pall().
| TEST_F | ( | ParallelTest | , |
| PallFalse | |||
| ) |
Definition at line 304 of file ah_parallel_test.cc.
References Aleph::pall().
| TEST_F | ( | ParallelTest | , |
| PallTrue | |||
| ) |
Definition at line 298 of file ah_parallel_test.cc.
References Aleph::pall().
| TEST_F | ( | ParallelTest | , |
| ParallelAlgorithmsHonorCancellation | |||
| ) |
Definition at line 201 of file ah_parallel_test.cc.
References options, Aleph::pmaps(), and Aleph::ParallelOptions::pool.
| TEST_F | ( | ParallelTest | , |
| PcountIfAll | |||
| ) |
Definition at line 362 of file ah_parallel_test.cc.
References Aleph::count(), and Aleph::pcount_if().
| TEST_F | ( | ParallelTest | , |
| PcountIfDivisibleByHundred | |||
| ) |
Definition at line 356 of file ah_parallel_test.cc.
References Aleph::count(), and Aleph::pcount_if().
| TEST_F | ( | ParallelTest | , |
| PcountIfEvens | |||
| ) |
Definition at line 350 of file ah_parallel_test.cc.
References Aleph::count(), and Aleph::pcount_if().
| TEST_F | ( | ParallelTest | , |
| PcountIfLargeData | |||
| ) |
Definition at line 374 of file ah_parallel_test.cc.
References Aleph::count(), and Aleph::pcount_if().
| TEST_F | ( | ParallelTest | , |
| PcountIfNone | |||
| ) |
Definition at line 368 of file ah_parallel_test.cc.
References Aleph::count(), and Aleph::pcount_if().
| TEST_F | ( | ParallelTest | , |
| PenumerateAcceptsParallelOptions | |||
| ) |
Definition at line 1407 of file ah_parallel_test.cc.
References options, Aleph::penumerate_for_each(), Aleph::penumerate_maps(), and Aleph::ParallelOptions::pool.
| TEST_F | ( | ParallelTest | , |
| PenumerateForEachConst | |||
| ) |
Definition at line 1370 of file ah_parallel_test.cc.
References Aleph::penumerate_for_each().
| TEST_F | ( | ParallelTest | , |
| PenumerateForEachModify | |||
| ) |
Definition at line 1358 of file ah_parallel_test.cc.
References Aleph::penumerate_for_each().
| TEST_F | ( | ParallelTest | , |
| PenumerateMaps | |||
| ) |
Definition at line 1383 of file ah_parallel_test.cc.
References Aleph::penumerate_maps().
| TEST_F | ( | ParallelTest | , |
| PenumerateMapsEmpty | |||
| ) |
Definition at line 1397 of file ah_parallel_test.cc.
References Aleph::penumerate_maps().
| TEST_F | ( | ParallelTest | , |
| PexclusiveScanContainerWrapperWorks | |||
| ) |
Definition at line 826 of file ah_parallel_test.cc.
References Aleph::pexclusive_scan().
| TEST_F | ( | ParallelTest | , |
| PexistsEmpty | |||
| ) |
Definition at line 328 of file ah_parallel_test.cc.
References Aleph::pexists().
| TEST_F | ( | ParallelTest | , |
| PexistsFalse | |||
| ) |
Definition at line 322 of file ah_parallel_test.cc.
References Aleph::pexists().
| TEST_F | ( | ParallelTest | , |
| PexistsTrue | |||
| ) |
Definition at line 316 of file ah_parallel_test.cc.
References Aleph::pexists().
| TEST_F | ( | ParallelTest | , |
| PfilterAll | |||
| ) |
Definition at line 174 of file ah_parallel_test.cc.
References Aleph::pfilter().
| TEST_F | ( | ParallelTest | , |
| PfilterEmpty | |||
| ) |
Definition at line 180 of file ah_parallel_test.cc.
References Aleph::pfilter().
| TEST_F | ( | ParallelTest | , |
| PfilterEvens | |||
| ) |
Definition at line 156 of file ah_parallel_test.cc.
References Aleph::pfilter().
| TEST_F | ( | ParallelTest | , |
| PfilterLargeData | |||
| ) |
Definition at line 193 of file ah_parallel_test.cc.
References Aleph::pfilter().
| TEST_F | ( | ParallelTest | , |
| PfilterNone | |||
| ) |
Definition at line 168 of file ah_parallel_test.cc.
References Aleph::pfilter().
| TEST_F | ( | ParallelTest | , |
| PfilterOdds | |||
| ) |
Definition at line 162 of file ah_parallel_test.cc.
References Aleph::pfilter().
| TEST_F | ( | ParallelTest | , |
| PfilterPreservesOrder | |||
| ) |
Definition at line 186 of file ah_parallel_test.cc.
References Aleph::pfilter().
| TEST_F | ( | ParallelTest | , |
| PfilterSupportsNonDefaultConstructibleValues | |||
| ) |
Definition at line 782 of file ah_parallel_test.cc.
References Aleph::pfilter(), and value.
| TEST_F | ( | ParallelTest | , |
| PfindAcceptsParallelOptions | |||
| ) |
Definition at line 411 of file ah_parallel_test.cc.
References options, Aleph::pfind(), and Aleph::ParallelOptions::pool.
| TEST_F | ( | ParallelTest | , |
| PfindEmpty | |||
| ) |
Definition at line 405 of file ah_parallel_test.cc.
References Aleph::pfind().
| TEST_F | ( | ParallelTest | , |
| PfindFirst | |||
| ) |
Definition at line 397 of file ah_parallel_test.cc.
References Aleph::pfind().
| TEST_F | ( | ParallelTest | , |
| PfindFound | |||
| ) |
Definition at line 384 of file ah_parallel_test.cc.
References Aleph::pfind().
| TEST_F | ( | ParallelTest | , |
| PfindNotFound | |||
| ) |
Definition at line 391 of file ah_parallel_test.cc.
References Aleph::pfind().
| TEST_F | ( | ParallelTest | , |
| PfindValueFound | |||
| ) |
Definition at line 423 of file ah_parallel_test.cc.
References Aleph::pfind_value().
| TEST_F | ( | ParallelTest | , |
| PfoldlEmpty | |||
| ) |
Definition at line 242 of file ah_parallel_test.cc.
References Aleph::pfoldl().
| TEST_F | ( | ParallelTest | , |
| PfoldlLargeData | |||
| ) |
Definition at line 248 of file ah_parallel_test.cc.
References LL, Aleph::pfoldl(), and Aleph::sum().
| TEST_F | ( | ParallelTest | , |
| PfoldlMax | |||
| ) |
Definition at line 235 of file ah_parallel_test.cc.
References Aleph::pfoldl().
| TEST_F | ( | ParallelTest | , |
| PfoldlProduct | |||
| ) |
Definition at line 229 of file ah_parallel_test.cc.
References Aleph::pfoldl(), and Aleph::product().
| TEST_F | ( | ParallelTest | , |
| PfoldlSum | |||
| ) |
Definition at line 223 of file ah_parallel_test.cc.
References Aleph::pfoldl(), and Aleph::sum().
| TEST_F | ( | ParallelTest | , |
| PforEachAcceptsDefaultPoolThroughOptions | |||
| ) |
Definition at line 283 of file ah_parallel_test.cc.
References Aleph::ParallelOptions::chunk_size, options, and Aleph::pfor_each().
| TEST_F | ( | ParallelTest | , |
| PforEachAtomic | |||
| ) |
Definition at line 267 of file ah_parallel_test.cc.
References Aleph::count(), and Aleph::pfor_each().
| TEST_F | ( | ParallelTest | , |
| PforEachEmpty | |||
| ) |
Definition at line 276 of file ah_parallel_test.cc.
References Aleph::count(), and Aleph::pfor_each().
| TEST_F | ( | ParallelTest | , |
| PforEachModify | |||
| ) |
Definition at line 260 of file ah_parallel_test.cc.
References Aleph::pfor_each().
| TEST_F | ( | ParallelTest | , |
| PmapsAcceptsParallelOptions | |||
| ) |
Definition at line 138 of file ah_parallel_test.cc.
References options, Aleph::pmaps(), and Aleph::ParallelOptions::pool.
| TEST_F | ( | ParallelTest | , |
| PmapsEmpty | |||
| ) |
Definition at line 103 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| PmapsLargeData | |||
| ) |
Definition at line 116 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| PmapsPreservesOrder | |||
| ) |
Definition at line 131 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| PmapsSingle | |||
| ) |
Definition at line 109 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| PmapsSquare | |||
| ) |
Definition at line 80 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| PmapsToString | |||
| ) |
Definition at line 95 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| PmapsTypeConversion | |||
| ) |
Definition at line 87 of file ah_parallel_test.cc.
| TEST_F | ( | ParallelTest | , |
| PmapsWithList | |||
| ) |
Definition at line 124 of file ah_parallel_test.cc.
References Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| Pmax | |||
| ) |
Definition at line 483 of file ah_parallel_test.cc.
References Aleph::pmax().
| TEST_F | ( | ParallelTest | , |
| PmaxEmpty | |||
| ) |
Definition at line 496 of file ah_parallel_test.cc.
References Aleph::pmax().
| TEST_F | ( | ParallelTest | , |
| Pmin | |||
| ) |
Definition at line 476 of file ah_parallel_test.cc.
References Aleph::pmin().
| TEST_F | ( | ParallelTest | , |
| PminEmpty | |||
| ) |
Definition at line 490 of file ah_parallel_test.cc.
References Aleph::pmin().
| TEST_F | ( | ParallelTest | , |
| Pminmax | |||
| ) |
Definition at line 502 of file ah_parallel_test.cc.
References Aleph::pminmax().
| TEST_F | ( | ParallelTest | , |
| PminmaxLargeData | |||
| ) |
Definition at line 519 of file ah_parallel_test.cc.
References Aleph::pminmax().
| TEST_F | ( | ParallelTest | , |
| PminmaxShuffle | |||
| ) |
Definition at line 510 of file ah_parallel_test.cc.
References Aleph::pminmax().
| TEST_F | ( | ParallelTest | , |
| PnoneFalse | |||
| ) |
Definition at line 340 of file ah_parallel_test.cc.
References Aleph::pnone().
| TEST_F | ( | ParallelTest | , |
| PnoneTrue | |||
| ) |
Definition at line 334 of file ah_parallel_test.cc.
References Aleph::pnone().
| TEST_F | ( | ParallelTest | , |
| PpartitionAcceptsParallelOptions | |||
| ) |
Definition at line 724 of file ah_parallel_test.cc.
References options, Aleph::ParallelOptions::pool, and Aleph::ppartition().
| TEST_F | ( | ParallelTest | , |
| PpartitionAllFalse | |||
| ) |
Definition at line 702 of file ah_parallel_test.cc.
References Aleph::ppartition().
| TEST_F | ( | ParallelTest | , |
| PpartitionAllTrue | |||
| ) |
Definition at line 695 of file ah_parallel_test.cc.
References Aleph::ppartition().
| TEST_F | ( | ParallelTest | , |
| PpartitionBasic | |||
| ) |
Definition at line 688 of file ah_parallel_test.cc.
References Aleph::ppartition().
| TEST_F | ( | ParallelTest | , |
| PpartitionEmpty | |||
| ) |
Definition at line 709 of file ah_parallel_test.cc.
References Aleph::ppartition().
| TEST_F | ( | ParallelTest | , |
| PpartitionHonorsCancellation | |||
| ) |
Definition at line 768 of file ah_parallel_test.cc.
References options, Aleph::ParallelOptions::pool, and Aleph::ppartition().
| TEST_F | ( | ParallelTest | , |
| PpartitionPreservesOrder | |||
| ) |
Definition at line 716 of file ah_parallel_test.cc.
References Aleph::ppartition().
| TEST_F | ( | ParallelTest | , |
| PpartitionSupportsNonDefaultConstructibleValues | |||
| ) |
Definition at line 736 of file ah_parallel_test.cc.
References Aleph::ppartition(), and value.
| TEST_F | ( | ParallelTest | , |
| Pproduct | |||
| ) |
Definition at line 460 of file ah_parallel_test.cc.
References Aleph::pproduct(), and Aleph::product().
| TEST_F | ( | ParallelTest | , |
| PproductEmpty | |||
| ) |
Definition at line 466 of file ah_parallel_test.cc.
References Aleph::pproduct(), and Aleph::product().
| TEST_F | ( | ParallelTest | , |
| PscanContainerWrapperMatchesPartialSum | |||
| ) |
Definition at line 815 of file ah_parallel_test.cc.
References Aleph::pscan().
| TEST_F | ( | ParallelTest | , |
| PsortAcceptsParallelOptions | |||
| ) |
Definition at line 576 of file ah_parallel_test.cc.
References options, Aleph::ParallelOptions::pool, and Aleph::psort().
| TEST_F | ( | ParallelTest | , |
| PsortAlreadySorted | |||
| ) |
Definition at line 559 of file ah_parallel_test.cc.
References Aleph::psort().
| TEST_F | ( | ParallelTest | , |
| PsortBasic | |||
| ) |
Definition at line 531 of file ah_parallel_test.cc.
References Aleph::psort().
| TEST_F | ( | ParallelTest | , |
| PsortDescending | |||
| ) |
Definition at line 538 of file ah_parallel_test.cc.
References Aleph::psort().
| TEST_F | ( | ParallelTest | , |
| PsortEmpty | |||
| ) |
Definition at line 545 of file ah_parallel_test.cc.
References Aleph::psort().
| TEST_F | ( | ParallelTest | , |
| PsortHonorsCancellation | |||
| ) |
Definition at line 587 of file ah_parallel_test.cc.
References options, Aleph::ParallelOptions::pool, Aleph::psort(), and rng.
| TEST_F | ( | ParallelTest | , |
| PsortLargeData | |||
| ) |
Definition at line 566 of file ah_parallel_test.cc.
References Aleph::psort(), and rng.
| TEST_F | ( | ParallelTest | , |
| PsortSingle | |||
| ) |
Definition at line 552 of file ah_parallel_test.cc.
References Aleph::psort().
| TEST_F | ( | ParallelTest | , |
| Psum | |||
| ) |
Definition at line 436 of file ah_parallel_test.cc.
References Aleph::psum(), and Aleph::sum().
| TEST_F | ( | ParallelTest | , |
| PsumEmpty | |||
| ) |
Definition at line 448 of file ah_parallel_test.cc.
References Aleph::psum(), and Aleph::sum().
| TEST_F | ( | ParallelTest | , |
| PsumLargeData | |||
| ) |
Definition at line 454 of file ah_parallel_test.cc.
References LL, and Aleph::sum().
| TEST_F | ( | ParallelTest | , |
| PsumWithInit | |||
| ) |
Definition at line 442 of file ah_parallel_test.cc.
References Aleph::psum(), and Aleph::sum().
| TEST_F | ( | ParallelTest | , |
| PzipAllN3ContainersFalse | |||
| ) |
Definition at line 1263 of file ah_parallel_test.cc.
References Aleph::pzip_all_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipAllN3ContainersTrue | |||
| ) |
Definition at line 1250 of file ah_parallel_test.cc.
References Aleph::pzip_all_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipCountIfN | |||
| ) |
Definition at line 1300 of file ah_parallel_test.cc.
References Aleph::count(), Aleph::pzip_count_if_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipCountIfNPartial | |||
| ) |
Definition at line 1312 of file ah_parallel_test.cc.
References Aleph::count(), Aleph::pzip_count_if_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipExistsNFalse | |||
| ) |
Definition at line 1288 of file ah_parallel_test.cc.
References Aleph::pzip_exists_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipExistsNTrue | |||
| ) |
Definition at line 1276 of file ah_parallel_test.cc.
References Aleph::pzip_exists_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipFoldlNVariadic | |||
| ) |
Definition at line 1236 of file ah_parallel_test.cc.
References Aleph::pzip_foldl_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipForEachBasic | |||
| ) |
Definition at line 609 of file ah_parallel_test.cc.
References Aleph::pzip_for_each(), Aleph::sum(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipForEachDifferentLengths | |||
| ) |
Definition at line 619 of file ah_parallel_test.cc.
References Aleph::pzip_for_each(), Aleph::sum(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipForEachEmpty | |||
| ) |
Definition at line 629 of file ah_parallel_test.cc.
References Aleph::count(), and Aleph::pzip_for_each().
| TEST_F | ( | ParallelTest | , |
| PzipForEachN3Containers | |||
| ) |
Definition at line 1168 of file ah_parallel_test.cc.
References Aleph::pzip_for_each_n(), Aleph::sum(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipForEachN4Containers | |||
| ) |
Definition at line 1182 of file ah_parallel_test.cc.
References Aleph::pzip_for_each_n(), Aleph::sum(), w, and y.
| TEST_F | ( | ParallelTest | , |
| PzipForEachNDifferentLengths | |||
| ) |
Definition at line 1197 of file ah_parallel_test.cc.
References Aleph::count(), and Aleph::pzip_for_each_n().
| TEST_F | ( | ParallelTest | , |
| PzipForEachNLargeData | |||
| ) |
Definition at line 1451 of file ah_parallel_test.cc.
References Aleph::pzip_for_each_n(), Aleph::sum(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipMapsBasic | |||
| ) |
Definition at line 643 of file ah_parallel_test.cc.
References Aleph::pzip_maps(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipMapsN3Containers | |||
| ) |
Definition at line 1211 of file ah_parallel_test.cc.
References Aleph::pzip_maps_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipMapsNEmpty | |||
| ) |
Definition at line 1224 of file ah_parallel_test.cc.
References Aleph::pzip_maps_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipMapsNLargeData | |||
| ) |
Definition at line 1471 of file ah_parallel_test.cc.
References Aleph::pzip_maps_n(), and y.
| TEST_F | ( | ParallelTest | , |
| PzipMapsTypeConversion | |||
| ) |
Definition at line 652 of file ah_parallel_test.cc.
References Aleph::pzip_maps(), and y.
| TEST_F | ( | ParallelTest | , |
| ScanAndMergeAcceptParallelOptions | |||
| ) |
Definition at line 833 of file ah_parallel_test.cc.
References options, Aleph::pexclusive_scan(), Aleph::pmerge(), Aleph::ParallelOptions::pool, and Aleph::pscan().
| TEST_F | ( | ParallelTest | , |
| ScanAndMergeHonorCancellation | |||
| ) |
Definition at line 852 of file ah_parallel_test.cc.
References options, Aleph::pexclusive_scan(), Aleph::pmerge(), Aleph::ParallelOptions::pool, and Aleph::pscan().
| TEST_F | ( | ParallelTest | , |
| ScanAndMergeSupportNonDefaultConstructibleValues | |||
| ) |
Definition at line 873 of file ah_parallel_test.cc.
References Aleph::pexclusive_scan(), Aleph::pmerge(), Aleph::pscan(), and value.
| TEST_F | ( | ParallelTest | , |
| ThreadSafetyConcurrentOperations | |||
| ) |
Definition at line 1110 of file ah_parallel_test.cc.
References LL, Aleph::pfilter(), and Aleph::pmaps().
| TEST_F | ( | ParallelTest | , |
| VariadicZipAlgorithmsAcceptParallelOptions | |||
| ) |
Definition at line 1324 of file ah_parallel_test.cc.
References options, Aleph::ParallelOptions::pool, Aleph::pzip_all_n(), Aleph::pzip_count_if_n(), Aleph::pzip_exists_n(), Aleph::pzip_foldl_n(), Aleph::pzip_maps_n(), and y.
| TEST_F | ( | ParallelTest | , |
| ZipAlgorithmsAcceptParallelOptions | |||
| ) |
Definition at line 663 of file ah_parallel_test.cc.
References options, Aleph::ParallelOptions::pool, Aleph::pzip_foldl(), Aleph::pzip_for_each(), Aleph::pzip_maps(), and y.
| TEST_F | ( | ParallelTest | , |
| ZipAndEnumerateHonorCancellation | |||
| ) |
Definition at line 1426 of file ah_parallel_test.cc.
References options, Aleph::penumerate_maps(), Aleph::ParallelOptions::pool, Aleph::pzip_maps(), Aleph::pzip_maps_n(), and y.