Skip to content

Commit

Permalink
Format .jl files
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic authored and github-actions[bot] committed May 4, 2024
1 parent ba7fe4d commit 331fec9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/Arrays/SingleEntryVector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ for N in [Float64, Float32, Rational{Int}]
res = x + y
@test res == SingleEntryVector(1, 100, N(13)) && typeof(res) == SingleEntryVector{N}
res = x + z
w = zeros(N, 100); w[1] = N(10); w[2] = N(-6)
w = zeros(N, 100)
w[1] = N(10)
w[2] = N(-6)
@test res == w

# subtraction
res = x - y
@test res == SingleEntryVector(1, 100, N(7)) && typeof(res) == SingleEntryVector{N}
res = x - z
w = zeros(N, 100); w[1] = N(10); w[2] = N(6)
w = zeros(N, 100)
w[1] = N(10)
w[2] = N(6)
@test res == w

x = SingleEntryVector(1, 100, N(-1))
Expand Down

0 comments on commit 331fec9

Please sign in to comment.