| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 2 | # vim:fileencoding=utf-8 |
||
| 3 | # |
||
| 4 | # Copyright (c) 2018 Stefan Bender |
||
| 5 | # |
||
| 6 | # This module is part of sciapy. |
||
| 7 | # sciapy is free software: you can redistribute it or modify |
||
| 8 | # it under the terms of the GNU General Public License as published |
||
| 9 | # by the Free Software Foundation, version 2. |
||
| 10 | # See accompanying LICENSE file or http://www.gnu.org/licenses/gpl-2.0.html. |
||
| 11 | """SCIAMACHY regression module tests |
||
| 12 | """ |
||
| 13 | |||
| 14 | import sciapy.regress |
||
| 15 | |||
| 16 | |||
| 17 | def test_module_structure(): |
||
| 18 | assert sciapy.regress |
||
| 19 | assert sciapy.regress.load_data |
||
| 20 | assert sciapy.regress.mcmc |
||
| 21 | |||
| 22 | |||
| 23 | def test_loaddatamodule_method_structure(): |
||
| 24 | assert sciapy.regress.load_scia_dzm |
||
| 25 | assert sciapy.regress.load_solar_gm_table |
||
| 26 | assert sciapy.regress.load_data.load_scia_dzm |
||
| 27 | assert sciapy.regress.load_data.load_solar_gm_table |
||
| 28 | assert sciapy.regress.load_data.load_dailymeanAE |
||
| 29 | assert sciapy.regress.load_data.load_dailymeanLya |
||
| 30 | |||
| 31 | |||
| 32 | def test_mcmcmodule_method_structure(): |
||
| 33 | assert sciapy.regress.mcmc_sample_model |
||
| 34 | assert sciapy.regress.mcmc.mcmc_sample_model |
||
| 35 |