code: def test_to_luv():
      caer_luv_luv = caer.to_luv(cv_luv)
      caer_bgr_luv = caer.to_luv(cv_bgr)
      caer_gray_luv = caer.to_luv(cv_gray)
      caer_hsv_luv = caer.to_luv(cv_hsv)
      caer_hls_luv = caer.to_luv(cv_hls)
      caer_rgb_luv = caer.to_luv(cv_rgb)
      caer_lab_luv = caer.to_luv(cv_lab)
      caer_yuv_luv = caer.to_luv(cv_yuv)
  
      assert isinstance(caer_luv_luv, caer.Tensor)
      assert isinstance(caer_bgr_luv, caer.Tensor)
      assert isinstance(caer_gray_luv, caer.Tensor)
      assert isinstance(caer_hsv_luv, caer.Tensor)
      assert isinstance(caer_hls_luv, caer.Tensor)
      assert isinstance(caer_rgb_luv, caer.Tensor)
      assert isinstance(caer_lab_luv, caer.Tensor)
      assert isinstance(caer_yuv_luv, caer.Tensor)
  
      assert caer_luv_luv.shape == cv_luv.shape
      assert caer_bgr_luv.shape == cv_luv.shape
      assert caer_gray_luv.shape == cv_luv.shape
      assert caer_hsv_luv.shape == cv_luv.shape
      assert caer_hls_luv.shape == cv_luv.shape
      assert caer_rgb_luv.shape == cv_luv.shape
      assert caer_lab_luv.shape == cv_luv.shape
      assert caer_yuv_luv.shape == cv_luv.shape
  
      assert caer_luv_luv.cspace == "luv"
      assert caer_bgr_luv.cspace == "luv"
      assert caer_gray_luv.cspace == "luv"
      assert caer_hsv_luv.cspace == "luv"
      assert caer_hls_luv.cspace == "luv"
      assert caer_rgb_luv.cspace == "luv"
      assert caer_lab_luv.cspace == "luv"
      assert caer_yuv_luv.cspace == "luv"
  
      assert len(caer_luv_luv.shape) == 3
      assert len(caer_bgr_luv.shape) == 3
      assert len(caer_gray_luv.shape) == 3
      assert len(caer_hsv_luv.shape) == 3
      assert len(caer_hls_luv.shape) == 3
      assert len(caer_rgb_luv.shape) == 3
      assert len(caer_lab_luv.shape) == 3
      assert len(caer_yuv_luv.shape) == 3
  
file_path: caer/tests/color/test_core.py
imports: import caer
  import cv2
  import os
label_desc: Use image node_id 8 for calling a global function with example usage: test_to_luv() without return types