()
| 28 | |
| 29 | |
| 30 | def test_clone(): |
| 31 | config = config0() |
| 32 | config2 = clone(config) |
| 33 | |
| 34 | nodeset = set(dfs(config)) |
| 35 | assert not any(n in nodeset for n in dfs(config2)) |
| 36 | |
| 37 | foo = recursive_set_rng_kwarg(config, scope.rng_from_seed(5)) |
| 38 | r = rec_eval(foo) |
| 39 | print(r) |
| 40 | r2 = rec_eval(recursive_set_rng_kwarg(config2, scope.rng_from_seed(5))) |
| 41 | |
| 42 | print(r2) |
| 43 | assert r == r2 |
| 44 | |
| 45 | |
| 46 | def test_vectorize_trivial(): |
nothing calls this directly
no test coverage detected