mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-27 12:16:56 +00:00
basic model structure
This commit is contained in:
+12
-4
@@ -1,8 +1,16 @@
|
||||
using JuliaFEM
|
||||
using Base.Test
|
||||
|
||||
function test_create_model()
|
||||
m = new_model()
|
||||
fn = fieldnames(m)
|
||||
@assert :model in fn
|
||||
@assert :nodes in fn
|
||||
@assert :elements in fn
|
||||
@assert :element_nodes in fn
|
||||
@assert :element_gauss_points in fn
|
||||
end
|
||||
|
||||
# write your own tests here
|
||||
@test 1 == JuliaFEM.test()
|
||||
|
||||
|
||||
@test_approx_eq 1.0 1.0
|
||||
# @test 1 == JuliaFEM.test()
|
||||
# @test_approx_eq 1.0 1.0
|
||||
|
||||
Reference in New Issue
Block a user