def test_append_text(self): b = MTextData("abc") b += "def" + b.NEW_LINE self.assertEqual("abcdef\\P;", b.text)
def test_append_text(): b = MTextData("abc") b += "def" + b.NEW_LINE assert "abcdef\\P;" == b.text
def test_new_buffer(self): b = MTextData("abc") self.assertEqual("abc", b.text)
def test_new_buffer(): b = MTextData("abc") assert "abc" == b.text