diff --git a/test/runtests.jl b/test/runtests.jl index 8ea5b72..9edd845 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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()