LoginSignup
1

More than 5 years have passed since last update.

Rantly(property based testing tool)でテストデータ生成 - boolean

Posted at

Rantly#boolean で真偽値をランダムに生成できます

関連記事

tbpgr の Rantly 関連記事

サンプル

Rantly(5) { boolean }
# => [true, true, true, false, true]
Rantly(5) { boolean }
# => [false, false, false, false, false]
Rantly(5) { boolean }
# => [true, true, false, true, false]

外部資料

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1