diff --git a/tests/VolumePackerTest.php b/tests/VolumePackerTest.php index c5c683a..c432fd6 100644 --- a/tests/VolumePackerTest.php +++ b/tests/VolumePackerTest.php @@ -666,4 +666,18 @@ public function testIssue583(): void self::assertCount(2, $packedBox->items); } + + public function testIssue590(): void + { + $this->markTestSkipped(); + $box = new TestBox('Box', 420, 420, 260, 0, 420, 420, 260, 0); + + $itemList = new ItemList(); + $itemList->insert(new TestItem('Item', 167, 132, 55, 0, Rotation::BestFit), 29); + + $packer = new VolumePacker($box, $itemList); + $packedBox = $packer->pack(); + + self::assertCount(29, $packedBox->items); + } }