dict fields

This commit is contained in:
Jukka Aho
2017-01-05 11:03:19 +02:00
parent 257d44162d
commit 1630dd1ec0
2 changed files with 4 additions and 9 deletions
-2
View File
@@ -6,8 +6,6 @@ using JuliaFEM.Testing
@testset "test interpolation of discrete constant time-variant field" begin
f = DCTV(0.0 => 0.0, 1.0 => 1.0)
# time interpolation of time-variant fields results it's
# time-invariant counterpart
@test isapprox(f(-1.0), DCTI(0.0))
@test isapprox(f( 0.0), DCTI(0.0))
@test isapprox(f( 0.3), DCTI(0.3))