Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Math:gen_rngのテストを改善 #660

Merged
merged 3 commits into from
May 16, 2024

Conversation

salano-ym
Copy link
Member

@salano-ym salano-ym commented May 13, 2024

What

異なる2つのシード値から1~100000の整数を100回生成した時に、一致率が5%未満であることを期待します。
シード値が同じ場合は一致率100%を期待します。
失敗確率は $7.52\times 10^{−16}\%$です(計算が合っていれば)。

Why

close #659

Additional info (optional)

@salano-ym salano-ym merged commit 43ff2a9 into aiscript-dev:master May 16, 2024
4 checks passed
@salano-ym salano-ym deleted the fix-test-genrng branch May 16, 2024 12:58
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.

Math:gen_rngのテストのバグ
3 participants