code: def test_convert_temperature():
      assert_equal(sc.convert_temperature(32, "f", "Celsius"), 0)
      assert_equal(
          sc.convert_temperature([0, 0], "celsius", "Kelvin"),
          [273.15, 273.15],
      )
      assert_equal(
          sc.convert_temperature([0, 0], "kelvin", "c"),
          [-273.15, -273.15],
      )
      assert_equal(
          sc.convert_temperature([32, 32], "f", "k"), [273.15, 273.15]
      )
      assert_equal(
          sc.convert_temperature([273.15, 273.15], "kelvin", "F"),
          [32, 32],
      )
      assert_equal(
          sc.convert_temperature([0, 0], "C", "fahrenheit"), [32, 32]
      )
      assert_allclose(
          sc.convert_temperature([0, 0], "c", "r"),
          [491.67, 491.67],
          rtol=0.0,
          atol=1e-13,
      )
      assert_allclose(
          sc.convert_temperature([491.67, 491.67], "Rankine", "C"),
          [0.0, 0.0],
          rtol=0.0,
          atol=1e-13,
      )
      assert_allclose(
          sc.convert_temperature([491.67, 491.67], "r", "F"),
          [32.0, 32.0],
          rtol=0.0,
          atol=1e-13,
      )
      assert_allclose(
          sc.convert_temperature([32, 32], "fahrenheit", "R"),
          [491.67, 491.67],
          rtol=0.0,
          atol=1e-13,
      )
      assert_allclose(
          sc.convert_temperature([273.15, 273.15], "K", "R"),
          [491.67, 491.67],
          rtol=0.0,
          atol=1e-13,
      )
      assert_allclose(
          sc.convert_temperature([491.67, 0.0], "rankine", "kelvin"),
          [273.15, 0.0],
          rtol=0.0,
          atol=1e-13,
      )
  
imports: from __future__ import division, print_function, absolute_import
  from numpy.testing import assert_equal, assert_allclose
  import scipy.constants
label_desc: Use image node_id 1 for calling a global function with example usage: test_convert_temperature() without return types