Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make in bearing_puller big model correct system of constraints: no over-constraint...
[modules/shaper.git]
/
src
/
ModelHighAPI
/
Test
/
TestDouble.py
diff --git
a/src/ModelHighAPI/Test/TestDouble.py
b/src/ModelHighAPI/Test/TestDouble.py
index 6009e720a6c32138af41ecbac78514628154d7ba..6735af347bbd7ce6d3f5dc64d5798444f77a25b3 100644
(file)
--- a/
src/ModelHighAPI/Test/TestDouble.py
+++ b/
src/ModelHighAPI/Test/TestDouble.py
@@
-9,12
+9,10
@@
class DoubleTestCase(unittest.TestCase):
def test_create_from_double(self):
from_double = ModelHighAPI.ModelHighAPI_Double(100.)
def test_create_from_double(self):
from_double = ModelHighAPI.ModelHighAPI_Double(100.)
- self.assertEqual(100., from_double.value())
def test_create_from_text(self):
from_string = ModelHighAPI.ModelHighAPI_Double("200 + x")
def test_create_from_text(self):
from_string = ModelHighAPI.ModelHighAPI_Double("200 + x")
- self.assertEqual("200 + x", from_string.text())
-
+
if __name__ == "__main__":
unittest.main()
if __name__ == "__main__":
unittest.main()