Skip to content

Commit

Permalink
Explicit import of non-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold authored Nov 13, 2024
1 parent d90bf23 commit 0af032e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/utils.jl
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
@testitem "Utilities" setup=[Setup] begin
using LinearAlgebra: norm
using MeshIntegrals: _units, _zeros, _ones

# _KVector
v = Meshes.Vec(3, 4)
@test norm(MeshIntegrals._KVector(v)) 5.0u"m"

# _units
p = Point(1.0u"cm", 2.0u"mm", 3.0u"m")
@test MeshIntegrals._units(p) == u"m"
@test _units(p) == u"m"

# _zeros
@test _zeros(2) == (0.0, 0.0)
Expand Down

0 comments on commit 0af032e

Please sign in to comment.