mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Update tests after recent serialization changes
This commit is contained in:
parent
c7bc9bed46
commit
f977aff82d
2 changed files with 2 additions and 3 deletions
|
@ -23,7 +23,7 @@ use Slic3r::Geometry qw(scale);
|
|||
}
|
||||
my $polyline = Slic3r::Polyline->new($points);
|
||||
my $serialized = $polyline->serialize;
|
||||
my $deserialized = $serialized->deserialize;
|
||||
my $deserialized = Slic3r::Polyline->deserialize($serialized);
|
||||
is scalar(@$deserialized), scalar(@$points), 'number of deserialized points';
|
||||
is_deeply $deserialized, $points, 'deserialized points coordinates';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue