Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Sep 11, 2024
1 parent 4f03ec0 commit 05b5187
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test_Traits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ using Test, GeoParams
@test isviscoelastic(r1[4]) isa NonElasticRheologyTrait

# test get_G and get_Kb
@test GeoParams.get_G(isviscoelastic(CompositeRheology(v1, v2, v3)), r) == 0
@test GeoParams.get_Kb(isviscoelastic(CompositeRheology(v1, v2, v3)), r) == Inf
r = CompositeRheology(v1, v2, v3)
@test GeoParams.get_G(isviscoelastic(r), r) == 0
@test GeoParams.get_Kb(isviscoelastic(r), r) == Inf

## linear rheology traits
# test basic cases
Expand Down

0 comments on commit 05b5187

Please sign in to comment.