Skip to content

Fix div in junit-jupiter-starter-gradle-kotlin#751

Merged
marcphilipp merged 1 commit intojunit-team:mainfrom
UOBW:patch-1
Mar 17, 2026
Merged

Fix div in junit-jupiter-starter-gradle-kotlin#751
marcphilipp merged 1 commit intojunit-team:mainfrom
UOBW:patch-1

Conversation

@UOBW
Copy link
Contributor

@UOBW UOBW commented Mar 16, 2026

Just a minor detail not relevant for the unit tests at all, but the previous implementation of the div method would do integer division and then convert to double, e.g. div(1, 2) == 0.0, not 0.5 as expected


I hereby agree to the terms of the JUnit Contributor License Agreement.

Just a minor detail not relevant for the unit tests at all, but the previous implementation of the div method would do integer division and then convert to double, e.g. div(1, 2) == 0.0, not 0.5 as expected
@marcphilipp marcphilipp merged commit e27a5a1 into junit-team:main Mar 17, 2026
6 checks passed
@marcphilipp
Copy link
Member

@UOBW Thanks! 👍

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.

2 participants