Beispiel #1
0
    def test_append_text(self):
        b = MTextData("abc")
        b += "def" + b.NEW_LINE

        self.assertEqual("abcdef\\P;", b.text)
Beispiel #2
0
def test_append_text():
    b = MTextData("abc")
    b += "def" + b.NEW_LINE

    assert "abcdef\\P;" == b.text
Beispiel #3
0
 def test_new_buffer(self):
     b = MTextData("abc")
     self.assertEqual("abc", b.text)
Beispiel #4
0
def test_new_buffer():
    b = MTextData("abc")
    assert "abc" == b.text