5 class DoubleTestCase(unittest.TestCase):
7 def test_create_default(self):
8 default = ModelHighAPI.ModelHighAPI_Double()
10 def test_create_from_double(self):
11 from_double = ModelHighAPI.ModelHighAPI_Double(100.)
12 # self.assertEqual(100., from_double.value())
14 def test_create_from_text(self):
15 from_string = ModelHighAPI.ModelHighAPI_Double("200 + x")
16 # self.assertEqual("200 + x", from_string.text())
19 if __name__ == "__main__":