|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Phase 2 tests for the neighborhoods catalogue. More...
#include <array>#include <cstdint>#include <set>#include <span>#include <stdexcept>#include <gtest/gtest.h>#include <ca-traits.H>#include <tpl_ca_concepts.H>#include <tpl_ca_storage.H>#include <tpl_ca_lattice.H>#include <tpl_ca_neighborhood.H>Go to the source code of this file.
Functions | |
| TEST (CAMoore, OffsetsAreUniqueNonZeroAndBounded) | |
| TEST (CAMoore, R2In2DProduces24Offsets) | |
| TEST (CAVonNeumann, R1In2DGivesFourCardinalOffsets) | |
| TEST (CAVonNeumann, R2In2DOffsetsRespectL1Bound) | |
| TEST (CAHexNeighborhood, SixAxialOffsets) | |
| TEST (CATriangularNeighborhood, ParityDependentThirdOffset) | |
| TEST (CACustomNeighborhood, EnumeratesProvidedOffsets) | |
| TEST (CAGatherNeighbors, MooreOnToroidalLattice) | |
| TEST (CAGatherNeighbors, MooreOnOpenLatticeReadsZeroOutsideBorders) | |
| TEST (CAGatherNeighbors, ThrowsWhenOutputSpanIsTooSmall) | |
Phase 2 tests for the neighborhoods catalogue.
Definition in file tpl_ca_neighborhood_test.cc.
| TEST | ( | CACustomNeighborhood | , |
| EnumeratesProvidedOffsets | |||
| ) |
Definition at line 207 of file tpl_ca_neighborhood_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CAGatherNeighbors | , |
| MooreOnOpenLatticeReadsZeroOutsideBorders | |||
| ) |
Definition at line 249 of file tpl_ca_neighborhood_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::gather_neighbors().
| TEST | ( | CAGatherNeighbors | , |
| MooreOnToroidalLattice | |||
| ) |
Definition at line 229 of file tpl_ca_neighborhood_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::gather_neighbors().
| TEST | ( | CAGatherNeighbors | , |
| ThrowsWhenOutputSpanIsTooSmall | |||
| ) |
Definition at line 264 of file tpl_ca_neighborhood_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::gather_neighbors().
| TEST | ( | CAHexNeighborhood | , |
| SixAxialOffsets | |||
| ) |
Definition at line 157 of file tpl_ca_neighborhood_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CAMoore | , |
| OffsetsAreUniqueNonZeroAndBounded | |||
| ) |
Definition at line 90 of file tpl_ca_neighborhood_test.cc.
References Aleph::and, and Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CAMoore | , |
| R2In2DProduces24Offsets | |||
| ) |
Definition at line 110 of file tpl_ca_neighborhood_test.cc.
References Aleph::and, Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::Moore< N, R >::for_each_offset().
| TEST | ( | CATriangularNeighborhood | , |
| ParityDependentThirdOffset | |||
| ) |
Definition at line 179 of file tpl_ca_neighborhood_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CAVonNeumann | , |
| R1In2DGivesFourCardinalOffsets | |||
| ) |
Definition at line 126 of file tpl_ca_neighborhood_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CAVonNeumann | , |
| R2In2DOffsetsRespectL1Bound | |||
| ) |
Definition at line 141 of file tpl_ca_neighborhood_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::Von_Neumann< N, R >::for_each_offset().