@@ -93,7 +93,7 @@ using FixedSizeArrays
93
93
end
94
94
95
95
@testset " `isassigned`" begin
96
- for dim_count ∈ 1 : 3
96
+ for dim_count ∈ 0 : 3
97
97
for elem_type ∈ (Int, FixedSizeMatrix{Nothing})
98
98
size = ntuple (Returns (3 ), dim_count)
99
99
a = FixedSizeArray {elem_type, dim_count} (undef, size)
@@ -103,15 +103,15 @@ using FixedSizeArrays
103
103
end
104
104
end
105
105
end
106
- @testset " some assigned " begin
107
- a = FixedSizeMatrix {FixedSizeMatrix{Nothing}} (undef, 3 , 3 )
108
- assigned_inds = (( 1 , 2 ), ( 2 , 3 ), ( 3 , 3 ) )
109
- for ij ∈ assigned_inds
110
- a[ij ... ] = FixedSizeMatrix {Nothing} (undef, 1 , 1 )
111
- end
112
- for ij ∈ Iterators . product ( 1 : 3 , 1 : 3 )
113
- @test isassigned (a, ij ... ) == (ij ∈ assigned_inds )
114
- end
106
+ end
107
+ @testset " some assigned " begin
108
+ a = FixedSizeMatrix {FixedSizeMatrix{Nothing}} (undef, 3 , 3 )
109
+ assigned_inds = (( 1 , 2 ), ( 2 , 3 ), ( 3 , 3 ))
110
+ for ij ∈ assigned_inds
111
+ a[ij ... ] = FixedSizeMatrix {Nothing} (undef, 1 , 1 )
112
+ end
113
+ for ij ∈ Iterators . product ( 1 : 3 , 1 : 3 )
114
+ @test isassigned (a, ij ... ) == (ij ∈ assigned_inds)
115
115
end
116
116
end
117
117
end
0 commit comments