Skip to content

Add Packrift cartonization fixture test#1

Open
Packrift wants to merge 1 commit into
sjlouji:masterfrom
Packrift:codex/packrift-cartonization-fixture
Open

Add Packrift cartonization fixture test#1
Packrift wants to merge 1 commit into
sjlouji:masterfrom
Packrift:codex/packrift-cartonization-fixture

Conversation

@Packrift

Copy link
Copy Markdown

Summary

  • add a compact Packrift cartonization fixture test using the existing public API
  • select the smallest carton that fully packs each ecommerce order fixture
  • verify all items pack, carton weight limits are respected, and placements stay inside the selected carton

Fixture source: https://packrift.github.io/packaging-optimization-benchmark-corpus/cartonization-solver-fixtures.html

Validation

  • npm test -- --runInBand src/tests/packrift-cartonization.test.ts
  • npm test -- --runInBand
  • npm run build
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant