Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
tpl_ca_continuous_rules_test.cc File Reference

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>
Include dependency graph for tpl_ca_continuous_rules_test.cc:

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)
 

Detailed Description

Phase 9 tests for continuous and history CA rules.

Coverage:

  • Continuous_Rule scalar convolution dispatch and runtime guards.
  • Gray-Scott local transitions and deterministic pattern statistics.
  • FitzHugh-Nagumo local transitions and stability guards.
  • History_Cell ring-buffer semantics.
  • History_Rule direct invocation and Synchronous_Engine integration.

Definition in file tpl_ca_continuous_rules_test.cc.

Function Documentation

◆ TEST() [1/11]

TEST ( CAContinuousRule  ,
AppliesScalarConvolutionAndDt   
)

◆ TEST() [2/11]

TEST ( CAContinuousRule  ,
ValidatesDtNeighbourCountAndOutputRange   
)

◆ TEST() [3/11]

TEST ( CAFitzHughNagumoRule  ,
LocalRestStepMatchesEquation   
)

◆ TEST() [4/11]

TEST ( CAFitzHughNagumoRule  ,
ValidatesParametersAndBlowUp   
)

◆ TEST() [5/11]

◆ TEST() [6/11]

TEST ( CAGrayScottRule  ,
LocalPatchStepMatchesExplicitEulerFormula   
)

◆ TEST() [7/11]

TEST ( CAGrayScottRule  ,
UniformRestStateIsStable   
)

◆ TEST() [8/11]

TEST ( CAGrayScottRule  ,
ValidatesParameters   
)

◆ TEST() [9/11]

TEST ( CAHistoryCell  ,
RingBufferKeepsRecentStates   
)

◆ TEST() [10/11]

TEST ( CAHistoryRule  ,
DirectInvocationSupportsHistoryAwareFunctor   
)

◆ TEST() [11/11]

TEST ( CAHistoryRule  ,
IntegratesWithSynchronousEngine   
)