code: def test_float_image_observation_is_scaled_correctly_to_uint(
      self, fill_value: float, expected: int
  ):
      env = MockDeepmindControlSuiteEnvironment(
          img_dtype=np.float32,  # pytype: disable=wrong-arg-types  # numpy-scalars
          img_fill_value=fill_value,
      )
      env = deepmind_control_lib.DeepmindControlWithImagesPreprocessing(
          env
      )
  
      state = env.reset()
  
      np.testing.assert_equal(
          state, np.full_like(state, expected, dtype=np.uint8)
      )
  
imports: import collections
  from typing import Callable, Mapping
  from unittest import mock
  from absl.testing import absltest
  from absl.testing import parameterized
  from dm_control import suite
  from dm_control.rl import control
  import dm_env
  from dm_env import specs
  from dopamine.labs.sac_from_pixels import deepmind_control_lib
  import numpy
label_desc: Use image node_id 6 for calling the DeepmindControlLibTest obj's underlying member method code with example usage: obj.test_float_image_observation_is_scaled_correctly_to_uint(fill_value, expected) without return types