code: def test_add(self):
      input1 = InnerClass(1.0, OuterClass(10.0, 100))
      input2 = InnerClass(2.0, OuterClass(20.0, 200))
      exptected_output = InnerClass(3.0, OuterClass(30.0, 300))
      cross_partition_combiners._add_dataclasses_by_fields(
          input1, input2, fields_to_ignore=[]
      )
      self.assertEqual(input1, exptected_output)
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import dataclasses
  import math
  from unittest import mock
  from unittest.mock import patch
  from analysis import metrics
  from analysis import cross_partition_combiners
  import pipeline_dp
label_desc: Use image node_id 1 for calling the DataclassHelpersTests obj's underlying member method code with example usage: obj.test_add() without return types