def test_math_operations_4(self):
    spec = ((choice(['foo', 'bar']) + '-') + choice(['abc', 'def']))
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 2)
    self.assertEqual('foo-abc', parsed.instantiate([0.0, 0.0]))
    self.assertEqual('bar-def', parsed.instantiate([1.0, 1.0]))
def test_math_operations_4(self):
    spec = ((choice(['foo', 'bar']) + '-') + choice(['abc', 'def']))
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 2)
    self.assertEqual('foo-abc', parsed.instantiate([0.0, 0.0]))
    self.assertEqual('bar-def', parsed.instantiate([1.0, 1.0]))