code: def test_empty_range_contains() -> None:
      i = distributions.IntDistribution(low=1, high=1)
      assert not i._contains(0)
      assert i._contains(1)
      assert not i._contains(2)
  
      iq = distributions.IntDistribution(low=1, high=1, step=2)
      assert not iq._contains(0)
      assert iq._contains(1)
      assert not iq._contains(2)
  
      il = distributions.IntDistribution(low=1, high=1, log=True)
      assert not il._contains(0)
      assert il._contains(1)
      assert not il._contains(2)
  
      f = distributions.FloatDistribution(low=1.0, high=1.0)
      assert not f._contains(0.9)
      assert f._contains(1.0)
      assert not f._contains(1.1)
  
      fd = distributions.FloatDistribution(low=1.0, high=1.0, step=2.0)
      assert not fd._contains(0.9)
      assert fd._contains(1.0)
      assert not fd._contains(1.1)
  
      fl = distributions.FloatDistribution(low=1.0, high=1.0, log=True)
      assert not fl._contains(0.9)
      assert fl._contains(1.0)
      assert not fl._contains(1.1)
  
imports: import copy
  import json
  from typing import Any
  from typing import cast
  from typing import Dict
  from typing import Optional
  import warnings
  import numpy
  import pytest
  from optuna import distributions
label_desc: Use image node_id 13 for calling a global function with example usage: test_empty_range_contains() without return types