Skip to content

Commit

Permalink
re-enabled skipped tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lostella authored and mohamed82008 committed Jul 12, 2018
1 parent af0dea1 commit 95054ad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/cg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ end
end

Af = LinearMap(A)
@test_skip @testset "Function" begin
@testset "Function" begin
xCG = cg(Af, rhs; tol=tol, maxiter=100)
xJAC = cg(Af, rhs; Pl=P, tol=tol, maxiter=100)
@test norm(A * xCG - rhs) tol
@test norm(A * xJAC - rhs) tol
end

@test_skip @testset "Function with specified starting guess" begin
@testset "Function with specified starting guess" begin
x0 = randn(size(rhs))
xCG, hCG = cg!(copy(x0), Af, rhs; tol=tol, maxiter=100, log=true)
xJAC, hJAC = cg!(copy(x0), Af, rhs; Pl=P, tol=tol, maxiter=100, log=true)
Expand Down
2 changes: 1 addition & 1 deletion test/gmres.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ end
@test norm(A * x - b) / norm(b) tol
end

@test_skip @testset "Linear operator defined as a function" begin
@testset "Linear operator defined as a function" begin
A = LinearMap(cumsum!, 100; ismutating=true)
b = rand(100)
tol = 1e-5
Expand Down
2 changes: 1 addition & 1 deletion test/lsqr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function sol_matrix(m, n)
sparse(I, J, V, m, n)
end

@test_skip @testset "SOL test" for (m, n) = ((10, 10), (20, 10), (20, 10))
@testset "SOL test" for (m, n) = ((10, 10), (20, 10), (20, 10))
# Test adapted from the BSD-licensed Matlab implementation at
# http://www.stanford.edu/group/SOL/software/lsqr.html
# Michael Saunders, Systems Optimization Laboratory,
Expand Down
2 changes: 1 addition & 1 deletion test/simple_eigensolvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ n = 10
@test norm(A * x - λ * x) tol
end

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

0 comments on commit 95054ad

Please sign in to comment.