Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
max-vassili3v committed Aug 21, 2024
1 parent d0f10e3 commit 67d5f3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_indexing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ import BandedMatrices: rowstart, rowstop, colstart, colstop,
@test_throws BoundsError a[:, 0] = [1, 2, 3]
@test_throws DimensionMismatch a[:, 1] = [1, 2, 3]
@test_throws BoundsError a[BandRange, 0] = [1, 2, 3]
@test_throws BoundsError a[BandRange, 8] = [1, 2, 3]
@test_throws BoundsError a[BandRange, 9] = [1, 2, 3]
@test_throws DimensionMismatch a[BandRange, 1] = [1, 2]
end

Expand Down Expand Up @@ -344,7 +344,7 @@ import BandedMatrices: rowstart, rowstop, colstart, colstop,
@test_throws BoundsError a[0, :] = [1, 2, 3]
@test_throws DimensionMismatch a[1, :] = [1, 2, 3]
@test_throws BoundsError a[0, BandRange] = [1, 2, 3]
@test_throws BoundsError a[8, BandRange] = [1, 2, 3]
@test_throws BoundsError a[9, BandRange] = [1, 2, 3]
@test_throws DimensionMismatch a[1, BandRange] = [1, 2]
end

Expand Down

0 comments on commit 67d5f3f

Please sign in to comment.