code: def test_scaled_float_from_floats(self, scaling):
      a = np.array([1.0, 2.0, 3.0], dtype=SF(scaling))
  
      assert a.dtype.get_scaling() == scaling
      assert_array_equal(scaling * a.view(np.float64), [1.0, 2.0, 3.0])
  
imports: import pytest
  import numpy
  from numpy.testing import assert_array_equal
  from numpy.core._multiarray_umath import _discover_array_parameters, _get_sfloat_dtype
label_desc: Use image node_id 4 for calling the TestSFloat obj's underlying member method code with example usage: obj.test_scaled_float_from_floats(scaling) without return types