| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from asgardpy.analysis import AsgardpyAnalysis |
||
| 5 | def test_get_pivot_energy(gpy_hess_magic): |
||
| 6 | """ |
||
| 7 | Check the pivot energy for given fit model on a dataset. |
||
| 8 | """ |
||
| 9 | analysis = AsgardpyAnalysis(gpy_hess_magic) |
||
| 10 | |||
| 11 | analysis.run(["datasets-3d", "datasets-1d"]) |
||
| 12 | |||
| 13 | e_ref = fetch_pivot_energy(analysis) |
||
| 14 | |||
| 15 | assert e_ref.value == 0.20085434771049843 |
||
| 16 | |||
| 35 |