Skip to content

🧪 Test: add overlap tests#246

Merged
tyler-dane merged 2 commits intomainfrom
refactor/overlapping-logic-and-tests
Feb 4, 2025
Merged

🧪 Test: add overlap tests#246
tyler-dane merged 2 commits intomainfrom
refactor/overlapping-logic-and-tests

Conversation

@tyler-dane
Copy link
Contributor

@tyler-dane tyler-dane commented Feb 3, 2025

This is a follow-up PR to the recent PRs that added the ability to accommodate overlapping events (#234, #238, #240). It keeps the same functionality, but refactors the algorithm and updates the tests. This was done to help my understanding of how it works and make it easier to maintain in the future.


This pull request refactors the event overlap adjustment functionality and its associated tests. The main changes include moving the overlap adjustment logic to a new module, updating the relevant imports, and adding new test cases for the refactored functions.

Refactoring and code organization:

Test updates:

Import updates:

@tyler-dane tyler-dane force-pushed the refactor/overlapping-logic-and-tests branch from cbe4f5e to 508cde1 Compare February 3, 2025 14:51
@tyler-dane tyler-dane force-pushed the refactor/overlapping-logic-and-tests branch from 4889f97 to 731c59b Compare February 4, 2025 15:38
@tyler-dane tyler-dane added this to the Q1 2025: Good Enough To Use milestone Feb 4, 2025
@tyler-dane tyler-dane marked this pull request as ready for review February 4, 2025 15:45
@tyler-dane tyler-dane linked an issue Feb 4, 2025 that may be closed by this pull request
3 tasks
@tyler-dane tyler-dane merged commit 3079fac into main Feb 4, 2025
3 checks passed
@tyler-dane tyler-dane deleted the refactor/overlapping-logic-and-tests branch February 4, 2025 15:47
@tyler-dane tyler-dane removed this from the Q1 2025: Good Enough To Use milestone Feb 16, 2025
@tyler-dane tyler-dane changed the title 🧪 Feat: move overlap to dedicated dir and add tests 🧪 Test: add overlap tests Feb 25, 2025
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.

Allow grid events to overlap

1 participant