fn oxlFuzzArg
A generated argument of a fuzz test (D-7060): any value of T, refinements respected, decided by the fuzz input.
Example:
test fuzz "reverse twice is the identity" (xs: List<i64>) {
var ys = xs.clone()
ys.reverse()
ys.reverse()
assert_eq(ys, xs)
}@intrinsic("test.fuzzGen") pub(api) fn oxlFuzzArg<T: Serializable>(name: str) -> TС версии. 1.0.0-beta
Параметры
| Имя | Тип |
|---|---|
name | str |
Возвращает
T
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/core/testing.oxl:338