diff --git a/tests/VolumePackerTest.php b/tests/VolumePackerTest.php index b05b5745..a635094f 100644 --- a/tests/VolumePackerTest.php +++ b/tests/VolumePackerTest.php @@ -454,4 +454,18 @@ public function testIssue214(): void self::assertCount(4, $packedBox->getItems()); } } + + public function testIssue227(): void + { + $this->markTestSkipped(); + $box = new TestBox('Box', 160, 180, 160, 0, 160, 180, 160, 1000); + + $items = new ItemList(); + $items->insert(new TestItem('Item', 42, 100, 70, 1, Rotation::BestFit), 11); + + $volumePacker = new VolumePacker($box, $items); + $packedBox = $volumePacker->pack(); + + self::assertCount(4, $packedBox->getItems()); + } }