def test_max_2(self):
    spec = max(0.5, 1.0)
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 0)
    self.assertEqual(1.0, parsed.instantiate([]))
def test_max_2(self):
    spec = max(0.5, 1.0)
    parsed = ParsedSpec(spec)
    self.assertEqual(parsed.size(), 0)
    self.assertEqual(1.0, parsed.instantiate([]))