'Given complicated input, ensure that exactly the correct string is made.'

def test_complicated(self):

    self.assertEquals(preview.latex_preview('11*f(x)+x^2*(3||4)/sqrt(pi)'), '11\\cdot    \\text{f}(x)+\\frac{x^{2}\\cdot    (3\\|4)}{\\sqrt{\\pi}}')
    self.assertEquals(preview.latex_preview('log10(1+3/4/Cos(x^2)*(x+1))', case_sensitive=True), '\\log_{10}\\left(1+\\frac{3}{4\\cdot    \\text{Cos}\\left(x^{2}\\right)}\\cdot    (x+1)\\right)')
