Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error cases #1

Open
alChaCC opened this issue Apr 19, 2017 · 1 comment
Open

error cases #1

alChaCC opened this issue Apr 19, 2017 · 1 comment
Assignees
Labels

Comments

@alChaCC
Copy link
Owner

alChaCC commented Apr 19, 2017

it '6 items' do
    container = EasyBoxPacker.find_smallest_container(
      items: [
        {dimensions: [110, 30, 10]}, {dimensions: [110, 20, 10]}, {dimensions: [110, 10, 5]},
        {dimensions: [110, 30, 10]}, {dimensions: [110, 20, 10]}, {dimensions: [110, 10, 5]},
        {dimensions: [110, 30, 10]}, {dimensions: [110, 20, 10]}, {dimensions: [110, 10, 5]}
      ]
    )
    expect(container).to eq([30.0, 60.0, 110.0])
  end
@alChaCC alChaCC self-assigned this Apr 19, 2017
@alChaCC alChaCC added the bug label Apr 19, 2017
@leifcr
Copy link

leifcr commented Nov 1, 2020

Did you ever solve this one?

Repository owner deleted a comment Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants