code: def test_to_hsv():
      caer_hsv_hsv = caer.to_hsv(cv_hsv)
      caer_bgr_hsv = caer.to_hsv(cv_bgr)
      caer_gray_hsv = caer.to_hsv(cv_gray)
      caer_rgb_hsv = caer.to_hsv(cv_rgb)
      caer_hls_hsv = caer.to_hsv(cv_hls)
      caer_lab_hsv = caer.to_hsv(cv_lab)
      caer_yuv_hsv = caer.to_hsv(cv_yuv)
      caer_luv_hsv = caer.to_hsv(cv_luv)
  
      assert isinstance(caer_hsv_hsv, caer.Tensor)
      assert isinstance(caer_bgr_hsv, caer.Tensor)
      assert isinstance(caer_gray_hsv, caer.Tensor)
      assert isinstance(caer_rgb_hsv, caer.Tensor)
      assert isinstance(caer_hls_hsv, caer.Tensor)
      assert isinstance(caer_lab_hsv, caer.Tensor)
      assert isinstance(caer_yuv_hsv, caer.Tensor)
      assert isinstance(caer_luv_hsv, caer.Tensor)
  
      assert caer_hsv_hsv.shape == cv_hsv.shape
      assert caer_bgr_hsv.shape == cv_hsv.shape
      assert caer_gray_hsv.shape == cv_hsv.shape
      assert caer_rgb_hsv.shape == cv_hsv.shape
      assert caer_hls_hsv.shape == cv_hsv.shape
      assert caer_lab_hsv.shape == cv_hsv.shape
      assert caer_yuv_hsv.shape == cv_hsv.shape
      assert caer_luv_hsv.shape == cv_hsv.shape
  
      assert caer_hsv_hsv.cspace == "hsv"
      assert caer_bgr_hsv.cspace == "hsv"
      assert caer_gray_hsv.cspace == "hsv"
      assert caer_rgb_hsv.cspace == "hsv"
      assert caer_hls_hsv.cspace == "hsv"
      assert caer_lab_hsv.cspace == "hsv"
      assert caer_yuv_hsv.cspace == "hsv"
      assert caer_luv_hsv.cspace == "hsv"
  
      assert len(caer_hsv_hsv.shape) == 3
      assert len(caer_bgr_hsv.shape) == 3
      assert len(caer_gray_hsv.shape) == 3
      assert len(caer_rgb_hsv.shape) == 3
      assert len(caer_hls_hsv.shape) == 3
      assert len(caer_lab_hsv.shape) == 3
      assert len(caer_yuv_hsv.shape) == 3
      assert len(caer_luv_hsv.shape) == 3
  
file_path: caer/tests/color/test_core.py
imports: import caer
  import cv2
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: test_to_hsv() without return types