def test_math_operations_1(self):
    spec = (uniform() + 1)
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 1)
    self.assertEqual(2.0, parsed.instantiate([1.0]))
def test_math_operations_1(self):
    spec = (uniform() + 1)
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 1)
    self.assertEqual(2.0, parsed.instantiate([1.0]))