test/runtests.jl

Snapshot from this documentation build. SHA-256: 6eeb5c60f070cc01ba4572632e5575bd92bdd2a6d7d8d96267276894e7a9a1e7

    1 using Test
    2 using PMFGLM
    3 using KernelAbstractions
    4 using FFTW
    5 using Statistics
    6 using LinearAlgebra
    7 
    8 @testset "configuration, units, and reproducible inputs" begin
    9     include("test_configuration.jl")
   10 end
   11 
   12 @testset "CFL stability limits of the unsplit scheme" begin
   13     include("test_cfl_stability.jl")
   14 end
   15 
   16 @testset "terminal pressure-implicit determinism and CPU exponential solve" begin
   17     include("test_terminal_pressure_determinism.jl")
   18 end
   19 
   20 @testset "constrained-transport solver at the runner level" begin
   21     include("test_ct_runner.jl")
   22 end
   23 
   24 @testset "periodic gravity and particles" begin
   25     include("test_gravity.jl")
   26 end
   27 
   28 include("streaming_checks.jl")
   29 @testset "streaming and planar three-component evolution" begin
   30     for T in (Float32,Float64)
   31         streaming_checks(:cpu,T)
   32     end
   33 end
   34 
   35 module CubeCPUTestsHost
   36 include("test_cube_cpu.jl")
   37 end
   38 
   39 @testset "radiation density-mode persistence on the CPU FFT" begin
   40     include("test_radiation_density_mode.jl")
   41 end
   42 
   43 module InheritedMHDTests
   44 include("inherited/runtests.jl")
   45 end
   46 
   47 module RecombinationTests
   48 include("inherited/test_recombination_mixing.jl")
   49 end
   50 
   51 module CheckpointTests
   52 include("inherited/test_pmf_checkpoint_helpers.jl")
   53 end
   54 
   55 module RelativeVelocityTests
   56 include("test_relative_velocities.jl")
   57 end