Skip to content

Commit

Permalink
Add tests for Cone
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeingold committed Aug 27, 2024
1 parent 1c1a05c commit d9e935c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ end
box2d(T) = Box(Point(T(-1), T(-1)), Point(T(1), T(1)))
box3d(T) = Box(Point(T(-1), T(-1), T(-1)), Point(T(1), T(1), T(-1)))
circle(T) = Circle(plane_xy(T), T(2.5))
cone(T) = Cone(disk(T), pt_z(T))
conesurf(T) = ConeSurface(disk(T), pt_z(T))
cyl(T) = Cylinder(pt_e(T), pt_w(T), T(2.5))
cylsurf(T) = CylinderSurface(pt_e(T), pt_w(T), T(2.5))
Expand All @@ -121,7 +122,7 @@ end
SupportItem("Box{3,$T}", T, box3d(T), 1, 0, 0, 1, 1, 0, 1),
# Box{Dim,T}
SupportItem("Circle{$T}", T, circle(T), 1, 1, 0, 0, 1, 1, 1),
# Cone
SupportItem("Cone{$T}", T, cone(T), 1, 0, 0, 1, 1, 1, 1),
SupportItem("ConeSurface{$T}", T, conesurf(T), 1, 0, 1, 0, 1, 1, 1),
SupportItem("Cylinder{$T}", T, cyl(T), 1, 0, 0, 1, 1, 0, 1),
SupportItem("CylinderSurface{$T}", T, cylsurf(T), 1, 0, 1, 0, 1, 1, 1),
Expand Down

0 comments on commit d9e935c

Please sign in to comment.