Skip to content

Commit be4a6c7

Browse files
authored
Merge pull request #933 from JuliaRobotics/22Q4/fix/fixbbtest
fix bounding box test
2 parents b36c1b2 + 4f8daee commit be4a6c7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/pcl/testBoundingBox.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ import Caesar._PCL as _PCL
1111

1212
p0 = [0,0,0.] # GeoB.Point(
1313
p1 = [0,0,1.] # GeoB.Point(
14+
p1b = [0.1,0.1,1.1] # GeoB.Point(
1415
p2 = [1,1,2.] # GeoB.Point(
1516
p3 = [0,0,4.] # GeoB.Point(
1617
p4 = [0.5;0.5;2]
1718

1819
hr = _PCL.AxisAlignedBoundingBox( p1,p2 )
1920

20-
@test _PCL.inside(hr, p1)
21+
@test _PCL.inside(hr, p1b)
2122
@test !_PCL.inside(hr, p0)
2223
@test !_PCL.inside(hr, p3)
2324
@test _PCL.inside(hr, p4)

0 commit comments

Comments
 (0)