コード例 #1
0
 def test_buildCaretValueForCoord(self):
     caret = builder.buildCaretValueForCoord(500)
     assert getXML(caret.toXML) == [
         '<CaretValue Format="1">',
         '  <Coordinate value="500"/>',
         "</CaretValue>",
     ]
コード例 #2
0
 def test_buildCaretValueForCoord(self):
     caret = builder.buildCaretValueForCoord(500)
     self.assertEqual(getXML(caret.toXML),
                      '<CaretValue Format="1">'
                      '  <Coordinate value="500"/>'
                      '</CaretValue>')