Skip to content

Commit

Permalink
Merge pull request #165 from JuliaRobotics/maintenance/2019Q1
Browse files Browse the repository at this point in the history
fix Distributions.jl update
  • Loading branch information
dehann authored Mar 18, 2019
2 parents bc8161c + 3db6ea9 commit 6aa8fec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/testBearingRange2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,11 @@ global pts = predictbelief(fg, :x0, ls(fg, :x0), N=75)
end

@testset "Testing Pose2Point2Bearing Initialization and Packing" begin
p2p2b = Pose2Point2Bearing(MvNormal([0.2,0.2,0.2], [1 0 0;0 1 0;0 0 1]))

p2p2b = Pose2Point2Bearing( MvNormal([0.2,0.2,0.2], [1.0 0 0;0 1 0;0 0 1]) )
packed = convert(PackedPose2Point2Bearing, p2p2b)
p2p2bTest = convert(Pose2Point2Bearing, packed)
@test p2p2b.bearing.μ == p2p2bTest.bearing.μ
@test p2p2b.bearing.Σ.mat == p2p2bTest.bearing.Σ.mat

end

0 comments on commit 6aa8fec

Please sign in to comment.