Skip to content

Commit

Permalink
rm parent idx in test
Browse files Browse the repository at this point in the history
  • Loading branch information
LenkaNovak committed Sep 9, 2023
1 parent 5da30b0 commit 9175abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Fields/field.jl
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ end
fv = Fields.FieldVector(; c, f)
colidx = Fields.ColumnIndex((1, 1), 1) # arbitrary index

@test parent(fv.c.a[colidx])[1] == 1
@test parent(fv.f.y[colidx])[1] == 2
@test all(parent(fv.c.a[colidx]) .== Float32(1))
@test all(parent(fv.f.y[colidx]) .== Float32(2))
@test propertynames(fv) == propertynames(fv[colidx])

# JET tests
Expand Down

0 comments on commit 9175abd

Please sign in to comment.