MCPcopy
hub / github.com/tinygrad/tinygrad / test_tuple

Method test_tuple

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

Source from the content-addressed store, hash-verified

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):
433 self.assertEqual(argfix([True, False]), (True, False))
434

Callers

nothing calls this directly

Calls 1

argfixFunction · 0.90

Tested by

no test coverage detected