def test_multiple(self): self.assertEqual( kill_double_dollars( '$$\\textit{K}$$ -trivial, $$\\textit{K}$$ -low and $${{\\mathrm{\\textit{MLR}}}}$$ -low Sequences: A Tutorial' ), '$\\textit{K}$ -trivial, $\\textit{K}$ -low and ${{\\mathrm{\\textit{MLR}}}}$ -low Sequences: A Tutorial' )
def test_simple(self): self.assertEqual( kill_double_dollars( 'Fast Exhaustive Search for Quadratic Systems in $$\\mathbb {F}_{2}$$ on FPGAs' ), 'Fast Exhaustive Search for Quadratic Systems in $\\mathbb {F}_{2}$ on FPGAs' )
def test_kill_double_dollars(self): self.assertEqual(kill_double_dollars('This equation $$\\mathrm{P} = \\mathrm{NP}$$ breaks my design'), 'This equation $\\mathrm{P} = \\mathrm{NP}$ breaks my design')
def test_multiple(self): self.assertEqual(kill_double_dollars('$$\\textit{K}$$ -trivial, $$\\textit{K}$$ -low and $${{\\mathrm{\\textit{MLR}}}}$$ -low Sequences: A Tutorial'), '$\\textit{K}$ -trivial, $\\textit{K}$ -low and ${{\\mathrm{\\textit{MLR}}}}$ -low Sequences: A Tutorial')
def test_simple(self): self.assertEqual(kill_double_dollars( 'Fast Exhaustive Search for Quadratic Systems in $$\\mathbb {F}_{2}$$ on FPGAs'), 'Fast Exhaustive Search for Quadratic Systems in $\\mathbb {F}_{2}$ on FPGAs')