diff --git a/test/runtests.jl b/test/runtests.jl index 0a5e2dad2..4db2ca54d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -19,7 +19,7 @@ T = Float32 end @timed_testset "SOR GPU Backend" begin - include("SOR_GPU_Backend.jl") + include("test_gpu_backend.jl") end @timed_testset "ConstructiveSolidGeometry" begin diff --git a/test/SOR_GPU_Backend.jl b/test/test_gpu_backend.jl similarity index 84% rename from test/SOR_GPU_Backend.jl rename to test/test_gpu_backend.jl index a26447906..15cc2a2b8 100644 --- a/test/SOR_GPU_Backend.jl +++ b/test/test_gpu_backend.jl @@ -1,3 +1,8 @@ +# This file is a part of SolidStateDetectors.jl, licensed under the MIT License (MIT). + +using Test +using SolidStateDetectors + abstract type pseudoGPUArray <: SolidStateDetectors.GPUArrays.AbstractGPUArray{T where T, N where N} end @testset "Simulate example detector: Inverted Coax" begin @@ -15,7 +20,7 @@ abstract type pseudoGPUArray <: SolidStateDetectors.GPUArrays.AbstractGPUArray{T @test isapprox(ustrip(W), 2.41e-4, atol = 1e-5) end -@testset "Simulate example detector: Inverted Coax" begin +@testset "Simulate example detector: CGD" begin sim = Simulation{T}(SSD_examples[:CGD]) calculate_electric_potential!(