-
Notifications
You must be signed in to change notification settings - Fork 388
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
chore: define OriginalSquareSize
inside generateRandomBlockData
#717
Conversation
OriginalSquareSize
inside generateRandomBlockData
OriginalSquareSize
inside generateRandomBlockData
Codecov Report
@@ Coverage Diff @@
## main #717 +/- ##
==========================================
+ Coverage 44.52% 46.22% +1.69%
==========================================
Files 32 33 +1
Lines 3189 3217 +28
==========================================
+ Hits 1420 1487 +67
+ Misses 1666 1619 -47
- Partials 103 111 +8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can merge even it only fixes tests temporarily, I think I had to do this somewhere else as but forget where.
ideally we calculate the square size, but that's impossible in that package. might have to move it to a specific test package after #692 if we really want to test it.
will investigate this more tmrw |
I don't need this change for tests to pass so this is strictly optional and can be closed if undesired |
@evan-forbes do we still want this? If not, I'll close. |
no reason not to I don't think |
we might have to revert or override the square size if we don't want the max each time, but that's nbd |
…elestiaorg#717) * test: specify square size * move location of square size declaration
Spun out of #691
Motivation
While iterating on the
TestMerge
test, I encountered an unexpected errorbecause I failed to declare the square size on the data returned from
generateRandomBlockData
. I moved a variable definition to avoid this scenario.Very minor improvement. Can be closed if not helpful.