mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-18 17:47:29 +00:00
chore(test): drop mesh coloring regression
Remove tests for deleted graph coloring helpers. - Delete `test/mesh/test_coloring.jl`.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
using JuliaFEM, LinearAlgebra, Test
|
||||
|
||||
datadir = first(splitext(basename(@__FILE__)))
|
||||
|
||||
@testset "Test that mesh coloring provides a good coloring"
|
||||
fn = joinpath(datadir, "cube_tet4.inp")
|
||||
mesh = JuliaFEM.Mesh(open(parse_abaqus, fn))
|
||||
|
||||
coloring = JuliaFEM.create_coloring(mesh)
|
||||
for colors in coloring
|
||||
for ele_i in colors
|
||||
for ele_j in colors
|
||||
if ele_i == ele_j
|
||||
continue
|
||||
end
|
||||
@test intersect(Set(mesh.elements[ele_i]), Set(mesh.elements[ele_j])) |> isempty
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user