Skip to content

Commit

Permalink
Add testcase for #590
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Mar 9, 2024
1 parent 27bb78e commit 8199856
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/VolumePackerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 8199856

Please sign in to comment.