Skip to content

Add ExpectB and bool2float functions#392

Merged
JonathanMaes merged 3 commits into
3.11.2from
ExpectB
Apr 2, 2026
Merged

Add ExpectB and bool2float functions#392
JonathanMaes merged 3 commits into
3.11.2from
ExpectB

Conversation

@JonathanMaes

Copy link
Copy Markdown
Contributor

ExpectB() is the same as Expect() and ExpectV(), but for comparing boolean values.
This could, for instance, be useful to test #388, and the new internal function bool2float can also be used to replace the shift operation in #386.

@JonathanMaes JonathanMaes added this to the 3.12 milestone Apr 2, 2026
@JonathanMaes
JonathanMaes requested a review from ilateur April 2, 2026 13:26
Comment thread engine/util.go Outdated
Comment thread engine/util.go Outdated
@JonathanMaes
JonathanMaes requested a review from ilateur April 2, 2026 14:35

@ilateur ilateur left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect

@JonathanMaes
JonathanMaes merged commit c578099 into 3.11.2 Apr 2, 2026
@JonathanMaes
JonathanMaes deleted the ExpectB branch April 2, 2026 15:36
@JonathanMaes JonathanMaes mentioned this pull request Apr 3, 2026
4 tasks
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