Skip to content

Commit

Permalink
Add testcase for #272
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Feb 5, 2023
1 parent faa2147 commit 7737cfc
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 @@ -549,4 +549,18 @@ public function testIssue268(): void
self::assertCount(60, $packedBox->getItems());
}
}

public function testIssue272(): void
{
$this->markTestSkipped();
$box = new TestBox('Box', 725, 725, 650, 0, 725, 725, 650, 100000);

$items = new ItemList();
$items->insert(new TestItem('Item', 260, 260, 460, 0, Rotation::BestFit), 6);

$volumePacker = new VolumePacker($box, $items);
$packedBox = $volumePacker->pack();

self::assertCount(6, $packedBox->getItems());
}
}

0 comments on commit 7737cfc

Please sign in to comment.