示例#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);
示例#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)
示例#3
0
 def test_simple_sub(self):
     for orig, trx in self.subtests:
         self.assertEquals(dalq.deref_markup(orig), trx)
示例#4
0
 def test_simple_sub(self):
     for orig, trx in self.subtests:
         self.assertEquals(dalq.deref_markup(orig), trx)