mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-06 04:21:33 +00:00
Merge branch 'master' of https://github.com/ovainola/JuliaFEM
This commit is contained in:
@@ -58,6 +58,21 @@ function test_add_and_get_nodes()
|
||||
end
|
||||
test_add_and_get_nodes()
|
||||
|
||||
function test_print()
|
||||
lines_with_print = Dict()
|
||||
src = readdir("src")
|
||||
for file_name in src
|
||||
fil = open(joinpath("src",file_name),"r")
|
||||
for line in readlines(fil)
|
||||
if ismatch(r"print",line)
|
||||
lines_with_print[file_name] = "print"
|
||||
end
|
||||
end
|
||||
close(fil)
|
||||
end
|
||||
@test lines_with_print == Dict()
|
||||
end
|
||||
test_print()
|
||||
|
||||
function test_add_element()
|
||||
m = new_model()
|
||||
|
||||
Reference in New Issue
Block a user