|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Compile-time and runtime checks for Aleph::CA Phase 0 concepts.
More...
#include <array>#include <cstdint>#include <gtest/gtest.h>#include <ca-traits.H>#include <tpl_ca_concepts.H>Go to the source code of this file.
Functions | |
| TEST (CACellularAutomataConcepts, MockLatticeReadWrite) | |
| TEST (CACellularAutomataConcepts, MockNeighborhoodInterface) | |
| TEST (CACellularAutomataConcepts, IdentityRuleProducesSameState) | |
| TEST (CACellularAutomataConcepts, BoundaryTagsAreEmpty) | |
Compile-time and runtime checks for Aleph::CA Phase 0 concepts.
Phase 0 only ships the concept scaffolding. These tests validate that:
CellState.Coord_Vec<N> satisfies Coord<C, N>.LatticeLike.NeighborhoodLike.RuleLike<R, L>. Definition in file tpl_ca_concepts_test.cc.
| TEST | ( | CACellularAutomataConcepts | , |
| BoundaryTagsAreEmpty | |||
| ) |
Definition at line 175 of file tpl_ca_concepts_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CACellularAutomataConcepts | , |
| IdentityRuleProducesSameState | |||
| ) |
Definition at line 167 of file tpl_ca_concepts_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and r.
| TEST | ( | CACellularAutomataConcepts | , |
| MockLatticeReadWrite | |||
| ) |
Definition at line 145 of file tpl_ca_concepts_test.cc.
References Aleph::extents< IndexType, Exts >::extents(), and Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CACellularAutomataConcepts | , |
| MockNeighborhoodInterface | |||
| ) |
Definition at line 160 of file tpl_ca_concepts_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and h.