Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
Python
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Python Gen.elements示例
编程语言:
Python
命名空间/包名称:
pythoncheck.gen
类/类型:
Gen
方法/功能:
elements
hotexamples.com的示例:
1
Python Gen.elements - 已找到1个示例
。这些是从开源项目中提取的最受好评的
pythoncheck.gen.Gen.elements
现实Python示例。您可以评价示例,以帮助我们提高示例质量。
常用方法
显示
隐藏
sample(8)
constant(3)
sized(2)
apply(1)
choose(1)
elements(1)
eval(1)
frequency(1)
list_of(1)
list_of_length(1)
non_empty_list_of(1)
oneof(1)
promote(1)
resize(1)
sequence(1)
sublist_of(1)
常用方法
sample (8)
constant (3)
sized (2)
apply (1)
choose (1)
elements (1)
eval (1)
frequency (1)
list_of (1)
list_of_length (1)
常用方法
non_empty_list_of (1)
oneof (1)
promote (1)
resize (1)
sequence (1)
sublist_of (1)
示例#1
0
显示文件
文件:
default.py
项目:
JesseBuesking/pythoncheck
def Bool(): a = Arbitrary() a.generator = Gen.elements([True, False]) return a