def test_simplify(verbose=True, **kwargs):
    """ Post-processing simplifications """

    assert simplify("1e-20*11e2") == r"10^{-20}*11\times10^2"
    assert simplify("1e-20*11e-20+5+2") == r"10^{-20}*11\times10^{-20}+5+2"
Exemple #2
0
def test_simplify(verbose=True, **kwargs):

    assert simplify('1e-20*11e2') == r'10^{-20}*11\times10^2'
    assert simplify('1e-20*11e-20+5+2') == r'10^{-20}*11\times10^{-20}+5+2'
Exemple #3
0
def test_simplify(verbose=True, **kwargs):
    ''' Post-processing simplifications '''

    assert simplify('1e-20*11e2') == r'10^{-20}*11\times10^2'
    assert simplify('1e-20*11e-20+5+2') == r'10^{-20}*11\times10^{-20}+5+2'