Skip to content

Commit

Permalink
more constructionbase tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchan committed Jul 11, 2022
1 parent e7d21c8 commit a0bd0c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/misc_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,9 @@
patch = (; approximationType=NewType())
rd2 = StartUpDG.ConstructionBase.setproperties(rd, patch)
@test rd2.approximationType==NewType()

md = MeshData(uniform_mesh(Quad(), 4)..., rd)
patch = (; is_periodic=(true, false))
md2 = StartUpDG.ConstructionBase.setproperties(md, patch)
@test md2.is_periodic==(true, false)
end

0 comments on commit a0bd0c0

Please sign in to comment.