Skip to content

Commit

Permalink
Fix parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
GiackAloZ committed Oct 14, 2024
1 parent 83c1ede commit ef7a652
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_CellArray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ mutable struct MyMutableFieldArray{T} <: FieldArray{Tuple{2}, T, 1}
end

@testset "$(basename(@__FILE__))" begin
@testset "1. CellArray allocation ($array_type arrays) (precision: $(nameof(Float))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types)
@testset "1. CellArray allocation ($array_type arrays) (precision: $(nameof(Float)))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types)
@testset "Number cells" begin
dims = (2,3)
A = CellArray{Float}(undef, dims)
Expand Down Expand Up @@ -168,7 +168,7 @@ end
@test D.dims == dims
end;
end;
@testset "2. functions ($array_type arrays) (precision: $(nameof(Float))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types)
@testset "2. functions ($array_type arrays) (precision: $(nameof(Float)))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types)
dims = (2,3)
celldims = (3,4) # Needs to be compatible for matrix multiplication!
T_Float = SMatrix{celldims..., Float, prod(celldims)}
Expand Down Expand Up @@ -322,7 +322,7 @@ end
@test blocklength(H) == 4
end;
end;
@testset "3. Exceptions ($array_type arrays) (precision: $(nameof(Float))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types)
@testset "3. Exceptions ($array_type arrays) (precision: $(nameof(Float)))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types)
dims = (2,3)
celldims = (3,4)
T_Float = SMatrix{celldims..., Float, prod(celldims)}
Expand Down

0 comments on commit ef7a652

Please sign in to comment.