Exemple #1
0
 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'
     )
Exemple #2
0
 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'
     )
Exemple #3
0
 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')
Exemple #4
0
 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')
Exemple #5
0
 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')