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