Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')
def test_xmlConvertValue(self):
self.assertEqual(xmlConvertValue(0.0), '0')
self.assertEqual(xmlConvertValue(-0.0), '0')
self.assertEqual(xmlConvertValue(2.0), '2')
self.assertEqual(xmlConvertValue(-2.0), '-2')
self.assertEqual(xmlConvertValue(2.05), '2.05')
self.assertEqual(xmlConvertValue(2), '2')
self.assertEqual(xmlConvertValue(0.2), '0.2')
self.assertEqual(xmlConvertValue("0.0"), '0.0')
self.assertEqual(xmlConvertValue(1e-5), '0.00001')
self.assertEqual(xmlConvertValue(1e-10), '0.0000000001')
self.assertEqual(xmlConvertValue(1e-11), '0')
self.assertEqual(xmlConvertValue(1e+5), '100000')
self.assertEqual(xmlConvertValue(1e+10), '10000000000')