MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / test_comb3

Method test_comb3

graph_utils_test.py:42–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self.assertEqual(gu.comb2([1, 2, 3]), [(1, 2), (1, 3), (2, 3)])
41
42 def test_comb3(self):
43 self.assertEqual(gu.comb3([]), [])
44 self.assertEqual(gu.comb3([1]), [])
45 self.assertEqual(gu.comb3([1, 2]), [])
46 self.assertEqual(gu.comb3([1, 2, 3]), [(1, 2, 3)])
47 self.assertEqual(
48 gu.comb3([1, 2, 3, 4]), [(1, 2, 3), (1, 2, 4), (1, 3, 4), (2, 3, 4)]
49 )
50
51 def test_comb4(self):
52 self.assertEqual(gu.comb4([]), [])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected