Skip to content

Commit

Permalink
simple change
Browse files Browse the repository at this point in the history
  • Loading branch information
josemanuel22 committed Feb 28, 2024
1 parent d21094b commit 101e4aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
24 changes: 1 addition & 23 deletions cov.info
Original file line number Diff line number Diff line change
Expand Up @@ -123,30 +123,8 @@ DA:500,0
DA:501,0
DA:502,0
DA:503,0
DA:506,0
DA:507,0
DA:508,0
DA:509,0
DA:510,0
DA:511,0
DA:512,0
DA:513,0
DA:514,0
DA:515,0
DA:516,0
DA:517,0
DA:518,0
DA:519,0
DA:520,0
DA:521,0
DA:522,0
DA:524,0
DA:525,0
DA:526,0
DA:527,0
DA:528,0
LH:69
LF:146
LF:124
end_of_record
SF:./src/ISL.jl
DA:2,1
Expand Down
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ end;
@test isapprox(γ([1.0 2.0 3.1 3.9], 3.6, 3), [0.0, 0.0, 0.0, 0.92038, 0.0], atol=tol)
end;

@testset "generate aₖ" begin
@testset "generate_aₖ" begin
#@test isapprox(
# generate_aₖ([1.0, 2.0, 3.1, 3.9], 3.6), [0.0, 0.0, 0.0, 0.9997, 0.0], atol=tol
#)
Expand All @@ -63,7 +63,7 @@ end;
end;

# Test the 'scalar_diff' function
@testset "testset scalar_diff 1" begin
@testset "scalar_diff 1" begin
yₖ = [1.0 2.0 3.0 4.0]
data = 0.5:0.5:4.5
aₖ = zeros(5)
Expand All @@ -73,7 +73,7 @@ end;
@test isapprox(scalar_diff(aₖ), 3.1929, atol=tol)
end;

@testset "testset scalar_diff 2" begin
@testset "scalar_diff 2" begin
# Test Case 1: A vector with identical elements
q1 = [1.0, 1.0, 1.0]
expected1 = sum((q1 .- (1.0 / length(q1))) .^ 2)
Expand Down

0 comments on commit 101e4aa

Please sign in to comment.