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

refactor: vertex_index_common: remove footguns in tests matrix init. #5840

Conversation

ErichDonGubler
Copy link
Member

@ErichDonGubler ErichDonGubler commented Jun 18, 2024

Connections

Addresses non-blocking feedback raised in #5773 (1, 2).

Description

Remove a couple of footguns around allocation and exhaustive matrices for tests using the vertex_index_common helper.

Testing

I've used assert_eq!(…) checks between new and old values (not committed here) to ensure that we haven't regressed, so I feel fairly confident. 🙂 Attached: test.zip

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file. Not necessary.

Replace manual enumerations of various `enum`s with `derive`d ones via
`strum::{EnumIter, IntoEnumIterator}`.
@ErichDonGubler ErichDonGubler self-assigned this Jun 18, 2024
@ErichDonGubler ErichDonGubler added area: infrastructure Testing, building, coordinating issues kind: refactor Making existing function faster or nicer labels Jun 18, 2024
@ErichDonGubler ErichDonGubler marked this pull request as ready for review June 18, 2024 21:50
@ErichDonGubler ErichDonGubler requested a review from a team as a code owner June 18, 2024 21:50
@jimblandy jimblandy merged commit 9052283 into gfx-rs:vertexPullByDefault Jun 23, 2024
25 checks passed
@jimblandy
Copy link
Member

Sorry about the confusion - I didn't realize this PR was against vertexPullByDefault and not trunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: infrastructure Testing, building, coordinating issues kind: refactor Making existing function faster or nicer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants