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

add unit tests for utils:math/vector/dot, omega-flowey:reset, and omega-flowey:setup #34

Merged
merged 7 commits into from
Dec 22, 2023

Conversation

TheAfroOfDoom
Copy link
Owner

Summary

This PR adds unit tests for:

  • utils:math/vector/dot
  • omega-flowey:reset
  • omega-flowey:setup

NOTE: the tests for utils:math/vector/dot revealed that the function isn't perfect (it's non-commutative), but that's fine for now since it's unclear if we even want to use it (for the homing-vines attack's hitbox).

This PR also updates to the fixed packtest_runner version from CarbonSmasher/packtest_runner#1 that includes support for specifying a custom packtest version to use (allowing us to update the variable for new packtest features instead of waiting on packtest_runner to update).


Test plan

see Summary ^

unit tests pass

Reproducing in-game

In the modded client run:

test runall

Preview

N/A


Supplemental changes

N/A

@TheAfroOfDoom TheAfroOfDoom merged commit afb1cc9 into main Dec 22, 2023
1 check passed
@TheAfroOfDoom TheAfroOfDoom deleted the add-unit-tests-0 branch December 22, 2023 02:19
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