Skip to content

test: add Gen.choose edge case test with equal bounds - #737

Open
ShrutiKansal72 wants to merge 1 commit into
fscheck:masterfrom
ShrutiKansal72:add-xunit-test
Open

test: add Gen.choose edge case test with equal bounds#737
ShrutiKansal72 wants to merge 1 commit into
fscheck:masterfrom
ShrutiKansal72:add-xunit-test

Conversation

@ShrutiKansal72

Copy link
Copy Markdown

Adds a test for Gen.choose when bounds are equal (l == h).

This edge case was not previously covered. When both bounds are
identical, the generator should always return that single value.

  • File: tests/FsCheck.Test/Gen.fs

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.

1 participant