blob: 7ee2f9384efd8be6780c2bce9ece0b9559d587ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
from nitime.analysis.base import BaseAnalyzer
import numpy.testing as npt
def test_base():
empty_dict = {}
input1 = '123'
A = BaseAnalyzer(input=input1)
npt.assert_equal(A.input,input1)
npt.assert_equal(A.parameters,empty_dict)
input2 = '456'
A.set_input(input2)
npt.assert_equal(A.input,input2)
npt.assert_equal(A.__repr__(),'BaseAnalyzer()')
|