def test_complex():
 entry = tokenize('(1j)')[0][0]
 assert (entry == HyComplex('1.0j'))
 entry = tokenize('(j)')[0][0]
 assert (entry == HySymbol('j'))

def test_complex ( ) : entry = tokenize ( '(1j)' ) [ 0 ] [ 0 ] assert ( entry == HyComplex ( '1.0j' ) ) entry = tokenize ( '(j)' ) [ 0 ] [ 0 ] assert ( entry == HySymbol ( 'j' ) )
ensure we tokenize complex numbers properly .