def test_min_1(self):
    spec = min(uniform(), uniform(), 0.5)
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 2)
    self.assertEqual(0.5, parsed.instantiate([1.0, 0.7]))
    self.assertEqual(0.5, parsed.instantiate([1.0, 0.5]))
    self.assertEqual(0.0, parsed.instantiate([0.0, 0.5]))
def test_min_1(self):
    spec = min(uniform(), uniform(), 0.5)
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 2)
    self.assertEqual(0.5, parsed.instantiate([1.0, 0.7]))
    self.assertEqual(0.5, parsed.instantiate([1.0, 0.5]))
    self.assertEqual(0.0, parsed.instantiate([0.0, 0.5]))