def test_duplicate_nodes_1(self):
    node = uniform()
    spec = merge([node, node, node], (lambda x, y, z: ((x + y) + z)))
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 1)
    self.assertEqual(3.0, parsed.instantiate([1.0]))
    self.assertEqual(9.0, parsed.instantiate([3.0]))
def test_duplicate_nodes_1(self):
    node = uniform()
    spec = merge([node, node, node], (lambda x, y, z: ((x + y) + z)))
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 1)
    self.assertEqual(3.0, parsed.instantiate([1.0]))
    self.assertEqual(9.0, parsed.instantiate([3.0]))