File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,13 @@ println("=======================================================================
50
50
# Test unit conversions using scale
51
51
@test info. scale. kpc > 0
52
52
@test info. scale. pc > 0
53
- @test info. scale. Mpc > info. scale. kpc
54
- @test info. scale. kpc > info. scale. pc
53
+ # Scale factors: smaller physical units have larger conversion factors
54
+ @test info. scale. Mpc < info. scale. kpc # 1 sim unit = fewer Mpc than kpc
55
+ @test info. scale. kpc < info. scale. pc # 1 sim unit = fewer kpc than pc
55
56
56
- # Test time units
57
- @test info. scale. Gyr > info. scale. Myr
58
- @test info. scale. Myr > info. scale. yr
57
+ # Test time units - larger time units have smaller conversion factors
58
+ @test info. scale. Gyr < info. scale. Myr # 1 sim unit = fewer Gyr than Myr
59
+ @test info. scale. Myr < info. scale. yr # 1 sim unit = fewer Myr than yr
59
60
60
61
# Test mass units - check if they exist first
61
62
@test info. scale. Msol > 0
@@ -398,7 +399,9 @@ println("=======================================================================
398
399
@test haskey (namelist, " &HYDRO_PARAMS" )
399
400
400
401
println (" [ Info: ✅ Compilation and version info validated: namelist sections=$(length (keys (namelist))) , compilation=$(info. compilationfile) " )
401
- end @testset " 4.3 Extended Attribute Access" begin
402
+ end
403
+
404
+ @testset " 4.3 Extended Attribute Access" begin
402
405
println (" Testing extended attribute access..." )
403
406
404
407
# Test array size information
You can’t perform that action at this time.
0 commit comments