hmm.. doctests, still needs some thinking.

This commit is contained in:
Jukka Aho
2015-10-21 00:55:49 +03:00
parent 5d8a119c40
commit a93176cf48
3 changed files with 17 additions and 4 deletions
+5
View File
@@ -54,6 +54,11 @@ unittests:
doctests:
julia docs/build_doctests.jl
.PHONY: test
test:
julia -e 'Pkg.test("JuliaFEM")'
#coverage_report:
# julia -e 'Pkg.test("JuliaFEM"; coverage=true); cd(Pkg.dir("JuliaFEM")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
+6 -2
View File
@@ -1,9 +1,12 @@
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md
"""
This is JuliaFEM -- Finite Element Package
"""
module JuliaFEM
using Lexicon
using Logging
@Logging.configure(level=DEBUG)
@@ -24,7 +27,6 @@ end
include("types.jl") # type definitions
include("interpolate.jl") # interpolation routines
### ELEMENTS ###
@@ -47,3 +49,5 @@ include("heat.jl")
#include("elasticity_solver.jl")
end # module
FEM = JuliaFEM
+6 -2
View File
@@ -41,9 +41,13 @@ Build a new model for outout
Parameters
----------
Example
Examples
-------
>>> xdmf_new_model()
```julia
@assert 1+1 == 3
```
"""
function xdmf_new_model(xdmf_version="2.1")
xdoc = XMLDocument()