Test: [skip ci] add test code of issue #6735 as unit test

This commit is contained in:
wmayer
2022-04-13 12:59:16 +02:00
parent 17f49bab18
commit 2abda1e0a0

View File

@@ -181,3 +181,6 @@ class UnitBasicCases(unittest.TestCase):
FreeCAD.Units.toNumber(1023, 'gg', 2)
with self.assertRaises(ValueError):
FreeCAD.Units.toNumber(1023, 's', 2)
def testIssue6735(self):
FreeCAD.Units.Quantity("1400.0 N/mm^2")