@@ -13,6 +13,7 @@ at input point `z` to confirm that there are correct `frule` and `rrule`s provid
13
13
- `fkwargs` are passed to `f` as keyword arguments.
14
14
- If `check_inferred=true`, then the inferrability (type-stability) of the `frule` and `rrule` are checked.
15
15
- `testset_name`: if provided, the name of the testset used to wrap the tests.
16
+ Otherwise it is determined from the function and argument types.
16
17
- All remaining keyword arguments are passed to `isapprox`.
17
18
"""
18
19
function test_scalar (f, z; rtol= 1e-9 , atol= 1e-9 , fdm= _fdm, fkwargs= NamedTuple (), check_inferred= true , testset_name= nothing , kwargs... )
91
92
- If `check_inferred=true`, then the inferrability (type-stability) of the `frule` is checked,
92
93
as long as `f` is itself inferrable.
93
94
- `fkwargs` are passed to `f` as keyword arguments.
94
- - `testset_name`: if provided, the name of the testset used to wrap the tests.
95
+ - `testset_name`: if provided, the name of the testset used to wrap the tests.
96
+ Otherwise it is determined from the function and argument types.
95
97
- All remaining keyword arguments are passed to `isapprox`.
96
98
"""
97
99
function test_frule (args... ; kwargs... )
168
170
- If `check_inferred=true`, then the inferrability (type-stability) of the `rrule` is checked
169
171
— if `f` is itself inferrable — along with the inferrability of the pullback it returns.
170
172
- `fkwargs` are passed to `f` as keyword arguments.
171
- - `testset_name`: if provided, the name of the testset used to wrap the tests.
173
+ - `testset_name`: if provided, the name of the testset used to wrap the tests.
174
+ Otherwise it is determined from the function and argument types.
172
175
- All remaining keyword arguments are passed to `isapprox`.
173
176
"""
174
177
function test_rrule (args... ; kwargs... )
0 commit comments