Skip to content

Commit

Permalink
Add testcase for #230
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Feb 5, 2023
1 parent 53ede49 commit f25480b
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 @@ -468,4 +468,18 @@ public function testIssue227(): void

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

public function testIssue230(): void
{
$this->markTestSkipped();
$box = new TestBox('Truck', 220, 210, 230, 0, 220, 210, 230, 1200);

$items = new ItemList();
$items->insert(new TestItem('Pallet', 80, 120, 140, 90, Rotation::KeepFlat), 4);

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

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

0 comments on commit f25480b

Please sign in to comment.