|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Phase 9 tests for continuous and history CA rules. More...
#include <array>#include <cmath>#include <cstdint>#include <stdexcept>#include <gtest/gtest.h>#include <ca-kernels.H>#include <ca-rng.H>#include <ca-traits.H>#include <tpl_ca_continuous_rules.H>#include <tpl_ca_engine.H>#include <tpl_ca_lattice.H>#include <tpl_ca_neighborhood.H>#include <tpl_ca_storage.H>Go to the source code of this file.
Functions | |
| TEST (CAContinuousRule, AppliesScalarConvolutionAndDt) | |
| TEST (CAContinuousRule, ValidatesDtNeighbourCountAndOutputRange) | |
| TEST (CAGrayScottRule, ValidatesParameters) | |
| TEST (CAGrayScottRule, UniformRestStateIsStable) | |
| TEST (CAGrayScottRule, LocalPatchStepMatchesExplicitEulerFormula) | |
| TEST (CAGrayScottRule, DeterministicSeedProducesReproduciblePatterns) | |
| TEST (CAFitzHughNagumoRule, LocalRestStepMatchesEquation) | |
| TEST (CAFitzHughNagumoRule, ValidatesParametersAndBlowUp) | |
| TEST (CAHistoryCell, RingBufferKeepsRecentStates) | |
| TEST (CAHistoryRule, DirectInvocationSupportsHistoryAwareFunctor) | |
| TEST (CAHistoryRule, IntegratesWithSynchronousEngine) | |
Phase 9 tests for continuous and history CA rules.
Coverage:
Continuous_Rule scalar convolution dispatch and runtime guards.History_Cell ring-buffer semantics.History_Rule direct invocation and Synchronous_Engine integration. Definition in file tpl_ca_continuous_rules_test.cc.
| TEST | ( | CAContinuousRule | , |
| AppliesScalarConvolutionAndDt | |||
| ) |
Definition at line 124 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::make_continuous_rule().
| TEST | ( | CAContinuousRule | , |
| ValidatesDtNeighbourCountAndOutputRange | |||
| ) |
Definition at line 143 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::CA::make_continuous_rule().
| TEST | ( | CAFitzHughNagumoRule | , |
| LocalRestStepMatchesEquation | |||
| ) |
Definition at line 245 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::next().
| TEST | ( | CAFitzHughNagumoRule | , |
| ValidatesParametersAndBlowUp | |||
| ) |
Definition at line 262 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CAGrayScottRule | , |
| DeterministicSeedProducesReproduciblePatterns | |||
| ) |
Definition at line 221 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::CA::Synchronous_Engine< Lattice, Rule, Neighborhood, Order >::frame(), Aleph::CA::frames_equal(), Aleph::CA::Synchronous_Engine< Lattice, Rule, Neighborhood, Order >::run(), and steps.
| TEST | ( | CAGrayScottRule | , |
| LocalPatchStepMatchesExplicitEulerFormula | |||
| ) |
Definition at line 202 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::next().
| TEST | ( | CAGrayScottRule | , |
| UniformRestStateIsStable | |||
| ) |
Definition at line 183 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::next().
| TEST | ( | CAGrayScottRule | , |
| ValidatesParameters | |||
| ) |
Definition at line 171 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | CAHistoryCell | , |
| RingBufferKeepsRecentStates | |||
| ) |
Definition at line 277 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and h.
| TEST | ( | CAHistoryRule | , |
| DirectInvocationSupportsHistoryAwareFunctor | |||
| ) |
Definition at line 296 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::next(), and Aleph::sum().
| TEST | ( | CAHistoryRule | , |
| IntegratesWithSynchronousEngine | |||
| ) |
Definition at line 316 of file tpl_ca_continuous_rules_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and engine.