Make tests for issue 936 more robust
commit1ecc823b002d1be94aafe3ee4d1ac7619bc71760
authorKirill Smelkov <kirr@landau.phys.spbu.ru>
Thu, 28 Aug 2008 07:45:26 +0000 (28 11:45 +0400)
committerKirill Smelkov <kirr@landau.phys.spbu.ru>
Thu, 28 Aug 2008 07:45:26 +0000 (28 11:45 +0400)
tree67f07ee21c56c668082fad75a820023225b039d3
parent4133be6874f805d76f14e55b431b441b23796c35
Make tests for issue 936 more robust

It is good we check that say

    abs(x).expand(trig=True)

does not raise,  but it would be better to actually also check its result -- So
I've just added appropriate asserts like

    assert abs(x).expand(trig=True)  == abs(x)

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
sympy/functions/elementary/tests/test_complexes.py