code: def test_clamp(self) -> None:
      assert bcc.Color.clamp(10) == 10
      assert bcc.Color.clamp(10, 20) == 10
      assert bcc.Color.clamp(10, 5) == 5
      assert bcc.Color.clamp(-10) == 0
  
imports: from __future__ import annotations
  import pytest
  import bokeh.colors.color
label_desc: Use image node_id 1 for calling the Test_Color obj's underlying member method code with example usage: obj.test_clamp() without return types