def test_redundant():
 info = create_info(ch_names=['a', 'b', 'c'], sfreq=1000.0, ch_types=None)
 assert_equal(info['ch_names'][0], 'a')
 assert_equal(info['ch_names'][1], 'b')
 assert_equal(info['ch_names'][2], 'c')
 assert_equal(info['ch_names'], info['ch_names'])
 assert_equal(info['ch_names'], ['a', 'b', 'c'])
 info = create_info(ch_names=[], sfreq=1000.0, ch_types=None)
 assert_equal(info['ch_names'], [])
 info = create_info(ch_names=['a', 'b', 'c'], sfreq=1000.0, ch_types=None)

def test_redundant ( ) : info = create_info ( ch_names = [ 'a' , 'b' , 'c' ] , sfreq = 1000.0 , ch_types = None ) assert_equal ( info [ 'ch_names' ] [ 0 ] , 'a' ) assert_equal ( info [ 'ch_names' ] [ 1 ] , 'b' ) assert_equal ( info [ 'ch_names' ] [ 2 ] , 'c' ) assert_equal ( info [ 'ch_names' ] , info [ 'ch_names' ] ) assert_equal ( info [ 'ch_names' ] , [ 'a' , 'b' , 'c' ] ) info = create_info ( ch_names = [ ] , sfreq = 1000.0 , ch_types = None ) assert_equal ( info [ 'ch_names' ] , [ ] ) info = create_info ( ch_names = [ 'a' , 'b' , 'c' ] , sfreq = 1000.0 , ch_types = None )
test some of the redundant properties of info .