def test_name_1(self):
    aaa = uniform()
    bbb = choice(['foo'])
    ccc = uniform((- 1), 1)
    ddd = uniform()
    spec = {'aaa': aaa, 'bbb': bbb, 'ccc': (ccc ** 2), 'ddd': [ddd, ddd]}
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 4)
    self.assertTrue(('aaa' in aaa.name()))
    self.assertTrue(('uniform' in aaa.name()))
    self.assertTrue(('bbb' in bbb.name()))
    self.assertTrue(('choice' in bbb.name()))
    self.assertTrue(('ccc' in ccc.name()))
    self.assertTrue(('uniform' in ccc.name()))
    self.assertTrue(('ddd' in ddd.name()))
    self.assertTrue(('uniform' in ddd.name()))
def test_name_1(self):
    aaa = uniform()
    bbb = choice(['foo'])
    ccc = uniform((- 1), 1)
    ddd = uniform()
    spec = {'aaa': aaa, 'bbb': bbb, 'ccc': (ccc ** 2), 'ddd': [ddd, ddd]}
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 4)
    self.assertTrue(('aaa' in aaa.name()))
    self.assertTrue(('uniform' in aaa.name()))
    self.assertTrue(('bbb' in bbb.name()))
    self.assertTrue(('choice' in bbb.name()))
    self.assertTrue(('ccc' in ccc.name()))
    self.assertTrue(('uniform' in ccc.name()))
    self.assertTrue(('ddd' in ddd.name()))
    self.assertTrue(('uniform' in ddd.name()))