Skip to content

Commit 225f973

Browse files
Fix syntax errors and add external data checks to Phase test files
1 parent 44a1274 commit 225f973

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

test/phase1i_enhanced_particle_projection_tests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
using Test
66
using Mera
77

8+
# Check if external data is available
9+
const SKIP_EXTERNAL_DATA = get(ENV, "MERA_SKIP_EXTERNAL_DATA", "false") == "true"
10+
811
@testset "Phase 1I: Enhanced Particle & Projection Coverage" begin
912
println("🔬 Phase 1I: Starting Enhanced Particle & Projection Coverage Tests")
1013
println(" Target: Boost coverage from ~30% to 60%+ through comprehensive testing")
1114

12-
# Check if external data is available
13-
const SKIP_EXTERNAL_DATA = get(ENV, "MERA_SKIP_EXTERNAL_DATA", "false") == "true"
14-
1515
if SKIP_EXTERNAL_DATA
1616
@test_skip "External simulation test data not available for this environment"
1717
return

test/phase1j_enhanced_type_system_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ using Mera
197197
println("[ Info: 🔍 Testing InfoType field access patterns")
198198

199199
# Check if external data is available
200-
const SKIP_EXTERNAL_DATA = get(ENV, "MERA_SKIP_EXTERNAL_DATA", "false") == "true"
200+
skip_external_data = get(ENV, "MERA_SKIP_EXTERNAL_DATA", "false") == "true"
201201

202-
if SKIP_EXTERNAL_DATA
202+
if skip_external_data
203203
@test_skip "External simulation test data not available for this environment"
204204
return
205205
end

test/phase1k_enhanced_gravity_clumps_tests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
using Test
66
using Mera
77

8+
# Check if external data is available
9+
const SKIP_EXTERNAL_DATA = get(ENV, "MERA_SKIP_EXTERNAL_DATA", "false") == "true"
10+
811
@testset "Phase 1K: Gravity & Clumps Data Processing Coverage" begin
912
println("⚡ Phase 1K: Starting Enhanced Gravity and Clumps Data Processing Coverage Tests")
1013
println(" Target: Boost gravity coverage from ~60% to 85%+ through comprehensive testing")
1114

12-
# Check if external data is available
13-
const SKIP_EXTERNAL_DATA = get(ENV, "MERA_SKIP_EXTERNAL_DATA", "false") == "true"
14-
1515
if SKIP_EXTERNAL_DATA
1616
@test_skip "External simulation test data not available for this environment"
1717
return

0 commit comments

Comments
 (0)