diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-01-07 15:48:09 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-01-07 15:48:09 +0400 |
commit | b17d06f9d1fd7d8d1c1b9c176e876f17fc89aaaf (patch) | |
tree | 39ea7c2366ac1fb550547a8c4c9e188df2ece9d5 /t/geometry.t | |
parent | ea47f3b6e7a62608c35f2ffe30c0e618633ffe57 (diff) |
Finished porting BoundingBox to XS
Diffstat (limited to 't/geometry.t')
-rw-r--r-- | t/geometry.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/geometry.t b/t/geometry.t index 910535586..7322ccf66 100644 --- a/t/geometry.t +++ b/t/geometry.t @@ -146,7 +146,7 @@ my $polygons = [ { my $bb = Slic3r::Geometry::BoundingBox->new_from_points([ map Slic3r::Point->new(@$_), [0, 1], [10, 2], [20, 2] ]); $bb->scale(2); - is_deeply $bb->extents, [ [0,40], [2,4] ], 'bounding box is scaled correctly'; + is_deeply [ $bb->min_point->pp, $bb->max_point->pp ], [ [0,2], [40,4] ], 'bounding box is scaled correctly'; } #========================================================== |