MCPcopy
hub / github.com/tinygrad/tinygrad / test_positional_arguments

Method test_positional_arguments

test/null/test_helpers.py:428–429  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

426 self.assertEqual(argfix(None), (None, ))
427 self.assertEqual(argfix(None, None), (None, None))
428 def test_positional_arguments(self):
429 self.assertEqual(argfix(1, 2, 3), (1, 2, 3))
430 def test_tuple(self):
431 self.assertEqual(argfix((1., 2., 3.)), (1., 2., 3.))
432 def test_list(self):

Callers

nothing calls this directly

Calls 1

argfixFunction · 0.90

Tested by

no test coverage detected