mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-20 01:59:59 +00:00
data structures, new testing concept
This commit is contained in:
+10
-2
@@ -1,10 +1,15 @@
|
||||
# This file is a part of JuliaFEM.
|
||||
# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md
|
||||
|
||||
using JuliaFEM: interpolate
|
||||
module MathTests
|
||||
using JuliaFEM.Test
|
||||
|
||||
using FactCheck
|
||||
function test_math()
|
||||
@test 1+1 == 2
|
||||
end
|
||||
|
||||
#using JuliaFEM: interpolate
|
||||
#=
|
||||
facts("test interpolation of different field variables") do
|
||||
N(xi) = [
|
||||
(1-xi[1])*(1-xi[2])/4
|
||||
@@ -31,3 +36,6 @@ facts("test interpolation of different field variables") do
|
||||
@fact interpolate(F5, dNdξ, [0.0, 0.0]) --> [5.0 0.0; 0.0 0.5]
|
||||
@fact interpolate(F6, N, [0.0, 0.0]) --> 36
|
||||
end
|
||||
=#
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user