@@ -13,6 +13,7 @@ at input point `z` to confirm that there are correct `frule` and `rrule`s provid
1313- `fkwargs` are passed to `f` as keyword arguments.
1414- If `check_inferred=true`, then the inferrability (type-stability) of the `frule` and `rrule` are checked.
1515- `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.
1617- All remaining keyword arguments are passed to `isapprox`.
1718"""
1819function test_scalar (f, z; rtol= 1e-9 , atol= 1e-9 , fdm= _fdm, fkwargs= NamedTuple (), check_inferred= true , testset_name= nothing , kwargs... )
9192 - If `check_inferred=true`, then the inferrability (type-stability) of the `frule` is checked,
9293 as long as `f` is itself inferrable.
9394 - `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.
9597 - All remaining keyword arguments are passed to `isapprox`.
9698"""
9799function test_frule (args... ; kwargs... )
168170 - If `check_inferred=true`, then the inferrability (type-stability) of the `rrule` is checked
169171 — if `f` is itself inferrable — along with the inferrability of the pullback it returns.
170172 - `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.
172175 - All remaining keyword arguments are passed to `isapprox`.
173176"""
174177function test_rrule (args... ; kwargs... )
0 commit comments