Passed
Push — master ( 50c2df...92370f )
by Stefan
04:33
created

test_regress.test_modelmodule_method_structure()   A

Complexity

Conditions 1

Size

Total Lines 29
Code Lines 29

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 29
nop 0
dl 0
loc 29
rs 9.184
c 0
b 0
f 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