Skip to content

Commit 95054ad

Browse files
lostellamohamed82008
authored andcommitted
re-enabled skipped tests
1 parent af0dea1 commit 95054ad

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

test/cg.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ end
6666
end
6767

6868
Af = LinearMap(A)
69-
@test_skip @testset "Function" begin
69+
@testset "Function" begin
7070
xCG = cg(Af, rhs; tol=tol, maxiter=100)
7171
xJAC = cg(Af, rhs; Pl=P, tol=tol, maxiter=100)
7272
@test norm(A * xCG - rhs) tol
7373
@test norm(A * xJAC - rhs) tol
7474
end
7575

76-
@test_skip @testset "Function with specified starting guess" begin
76+
@testset "Function with specified starting guess" begin
7777
x0 = randn(size(rhs))
7878
xCG, hCG = cg!(copy(x0), Af, rhs; tol=tol, maxiter=100, log=true)
7979
xJAC, hJAC = cg!(copy(x0), Af, rhs; Pl=P, tol=tol, maxiter=100, log=true)

test/gmres.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ end
5454
@test norm(A * x - b) / norm(b) tol
5555
end
5656

57-
@test_skip @testset "Linear operator defined as a function" begin
57+
@testset "Linear operator defined as a function" begin
5858
A = LinearMap(cumsum!, 100; ismutating=true)
5959
b = rand(100)
6060
tol = 1e-5

test/lsqr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function sol_matrix(m, n)
2525
sparse(I, J, V, m, n)
2626
end
2727

28-
@test_skip @testset "SOL test" for (m, n) = ((10, 10), (20, 10), (20, 10))
28+
@testset "SOL test" for (m, n) = ((10, 10), (20, 10), (20, 10))
2929
# Test adapted from the BSD-licensed Matlab implementation at
3030
# http://www.stanford.edu/group/SOL/software/lsqr.html
3131
# Michael Saunders, Systems Optimization Laboratory,

test/simple_eigensolvers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ n = 10
2626
@test norm(A * x - λ * x) tol
2727
end
2828

29-
@test_skip @testset "Inverse iteration" begin
29+
@testset "Inverse iteration" begin
3030
# Set a target near the middle eigenvalue
3131
idx = div(n, 2)
3232
σ = T(0.75 * λs[idx] + 0.25 * λs[idx + 1])

0 commit comments

Comments
 (0)