Skip to content

Fix/reuse timber in swetimber#95

Open
anton-etype wants to merge 3 commits into
Silviculturalist:devfrom
anton-etype:fix/reuse_timber_in_swetimber
Open

Fix/reuse timber in swetimber#95
anton-etype wants to merge 3 commits into
Silviculturalist:devfrom
anton-etype:fix/reuse_timber_in_swetimber

Conversation

@anton-etype

Copy link
Copy Markdown

I found a minor bug in the Timber class. That led to that I looked into the Timber and SweTimber classes. In my opinion the init()-function in SweTimber can reuse much of the code in Timber. That way the init logic gets centralized in the Timber class and the code does not need to be maintained at two places that do the same thing.
The validation function gets defined in separate sub-functions so the shared parts can be reused.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Silviculturalist Silviculturalist self-assigned this Oct 28, 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.

3 participants