Skip to content

Commit ebf23f2

Browse files
Isolate SA tests
1 parent 843847d commit ebf23f2

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

test/sa_tests.jl

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,14 @@ end
418418
end
419419
end
420420

421+
# Issue #24
422+
function nodes_not_agg()
423+
A = include("onetoall.jl")
424+
ml = smoothed_aggregation(A)
425+
@test size(ml.levels[2].A) == (11,11)
426+
@test size(ml.final_A) == (2,2)
427+
end
428+
421429
# Smoothed Aggregation
422430
@testset "Smoothed Aggregation" begin
423431
@testset "Symmetric Strength of Connection" begin
@@ -436,16 +444,11 @@ end
436444
test_fit_candidates()
437445
end
438446

439-
@testset "Approximate Spectral Radius" begin
440-
test_approximate_spectral_radius()
441-
end
442-
443-
@testset "Jacobi Prolongation" begin
444-
test_jacobi_prolongator()
445-
end
446-
447447
@testset "Int32 support" begin
448448
a = sparse(Int32.(1:10), Int32.(1:10), rand(10))
449449
@inferred smoothed_aggregation(a)
450450
end
451+
452+
# Issue #24
453+
nodes_not_agg()
451454
end

0 commit comments

Comments
 (0)