docstr: Test to_tuple
docstr_tok: ["Test","to_tuple"]
code: def test_to_tuple(self):
      """Test to_tuple"""
      self.assertEqual(objax.util.to_tuple((1, 2), 3), (1, 2))
      self.assertEqual(objax.util.to_tuple(1, 3), (1, 1, 1))
      self.assertEqual(objax.util.to_tuple(1.5, 2), (1.5, 1.5))
      self.assertEqual(objax.util.to_tuple(1.5, 3), (1.5, 1.5, 1.5))
      self.assertEqual(objax.util.to_tuple([1, 2], 3), (1, 2))
  
file_path: objax/tests/util.py
imports: import re
  import unittest
  import objax
label_desc: Use image node_id 7 for calling the TestUtil obj's underlying member method code with example usage: obj.test_to_tuple() without return types