class_docstr: Unit Tests for SEVIRI calibration algorithm.
class_docstr_tok: ["Unit","Tests","for","SEVIRI","calibration","algorithm","."]
docstr: Test the conversion from counts to radiances.
docstr_tok: ["Test","the","conversion","from","counts","to","radiances","."]
code: def test_convert_to_radiance(self):
      """Test the conversion from counts to radiances."""
      result = self.algo.convert_to_radiance(COUNTS_INPUT, GAIN, OFFSET)
      xr.testing.assert_allclose(result, RADIANCES_OUTPUT)
      assert result.dtype == np.float32
  
imports: import unittest
  from datetime import datetime
  import numpy
  import pytest
  import xarray
  from satpy.readers.seviri_base import SEVIRICalibrationAlgorithm, SEVIRICalibrationHandler
label_desc: Use image node_id 2 for calling the TestSEVIRICalibrationAlgorithm obj's underlying member method code with example usage: obj.test_convert_to_radiance() without return types