code: def test_as_tuple(self):
      Case = namedtuple("Case", "input_args expected_output")
      testcases = (
          Case(
              input_args=(1, 2, 3),
              expected_output=(1, 2, 3),
          ),
          Case(
              input_args=(None, (1, 2, 3), None),
              expected_output=(None, 1, 2, 3, None),
          ),
          Case(
              input_args=((1, 2, 3), tuple()),
              expected_output=(1, 2, 3),
          ),
          Case(
              input_args=((1, 2, 3), [], (4, 5)),
              expected_output=(1, 2, 3, 4, 5),
          ),
          Case(
              input_args=((1, 2, 3), (4, 5, 3)),
              expected_output=(1, 2, 3, 4, 5, 3),
          ),
      )
  
      for testcase in testcases:
          actual_output = as_tuple(*testcase.input_args)
          self.assertEqual(
              actual_output,
              testcase.expected_output,
              msg="Input args: {}".format(testcase.input_args),
          )
  
file_path: neupy/tests/utils/test_misc.py
imports: from __future__ import unicode_literals
  import random
  import pickle
  from collections import namedtuple
  import numpy
  from neupy.utils.misc import as_tuple, AttributeKeyDict, reproducible
  from base import BaseTestCase
label_desc: Use image node_id 2 for calling the MiscUtilsTestCase obj's underlying member method code with example usage: obj.test_as_tuple() without return types