code: def test_preserve_aspect_ratio():
      tens_400_400 = caer.resize(
          cv_tens, target_size=(400, 400), preserve_aspect_ratio=True
      )
      tens_223_182 = caer.resize(
          cv_tens, target_size=(223, 182), preserve_aspect_ratio=True
      )
      tens_93_35 = caer.resize(
          cv_tens, target_size=(93, 35), preserve_aspect_ratio=True
      )
  
      assert tens_400_400.shape[:2] == (400, 400)
      assert tens_223_182.shape[:2] == (182, 223)
      assert tens_93_35.shape[:2] == (35, 93)
  
      # Type Asserts
      ## Using isinstance() often mistakes a caer.Tensor as an np.ndarray
      assert "caer.Tensor" in str(type(tens_400_400))
      assert "caer.Tensor" in str(type(tens_223_182))
      assert "caer.Tensor" in str(type(tens_93_35))
  
imports: import caer
  import cv2
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: test_preserve_aspect_ratio() without return types