[23/24] Pow: fix tests (0**x).is_real
commita3f2a9649a35489cd71ff0b843199ab4daf20ef4
authorKirill Smelkov <kirr@landau.phys.spbu.ru>
Fri, 25 Jul 2008 18:03:07 +0000 (25 22:03 +0400)
committerKirill Smelkov <kirr@landau.phys.spbu.ru>
Fri, 25 Jul 2008 18:03:07 +0000 (25 22:03 +0400)
tree6bc1645f55d67990454995115e86582b862742ac
parent5102168e396843d187a63763ea84e6b40a902648
[23/24] Pow: fix tests (0**x).is_real

    x=Symbol('x', real), then the following should hold

    ( pos**x).is_real == True
    (zero**x).is_real == None       tricky, and hence
    (npos**x).is_real == None       because zero is contained in npos

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Signed-off-by: Ondrej Certik <ondrej@certik.cz>
Signed-off-by: Mateusz Paprocki <mattpap@gmail.com>
sympy/core/tests/test_arit.py