Ejemplo n.º 1
0
 def test_mixed_sub(self):
     inp = """At t&gt;0, the drop goes as $1/r^2$. <br> This shows"""
     out = """At t>0, the drop goes as 1/r^2.  This shows"""
     self.assertEquals(dalq.deref_markup(inp), out);
Ejemplo n.º 2
0
 def test_mixed_sub(self):
     inp = """At t&gt;0, the drop goes as $1/r^2$. <br> This shows"""
     out = """At t>0, the drop goes as 1/r^2.  This shows"""
     self.assertEquals(dalq.deref_markup(inp), out)
Ejemplo n.º 3
0
 def test_simple_sub(self):
     for orig, trx in self.subtests:
         self.assertEquals(dalq.deref_markup(orig), trx)
Ejemplo n.º 4
0
 def test_simple_sub(self):
     for orig, trx in self.subtests:
         self.assertEquals(dalq.deref_markup(orig), trx)