Skip to content

Commit 5c89f20

Browse files
committed
Update tests
1 parent 0ba6e4b commit 5c89f20

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/runtests.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,11 @@ const DST = DataScienceTraits
249249
end
250250

251251
@testset "Meshes" begin
252-
@test scitype(rand(Point2)) <: DST.Geometrical
253-
@test scitype(rand(Triangle{2,Float64})) <: DST.Geometrical
254-
@test scitype(rand(Triangle{2,Float64})) <: DST.Geometrical
255-
@test elscitype(rand(Point2, 3)) <: DST.Geometrical
256-
@test elscitype(rand(Triangle{2,Float64}, 3)) <: DST.Geometrical
252+
@test scitype(rand(Point{2})) <: DST.Geometrical
253+
@test scitype(rand(Triangle{2})) <: DST.Geometrical
254+
@test scitype(rand(Triangle{2})) <: DST.Geometrical
255+
@test elscitype([rand(Point{2})]) <: DST.Geometrical
256+
@test elscitype([rand(Triangle{2})]) <: DST.Geometrical
257257
@test elscitype([Point(0, 0), missing, Point(1, 1)]) <: DST.Geometrical
258258
@test elscitype([Triangle((0, 0), (1, 0), (1, 1)), missing, Point(1, 1)]) <: DST.Geometrical
259259
end

0 commit comments

Comments
 (0)