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

Method test_comb2

graph_utils_test.py:36–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34 self.assertEqual(gu.cross(e1, e2), target)
35
36 def test_comb2(self):
37 self.assertEqual(gu.comb2([]), [])
38 self.assertEqual(gu.comb2([1]), [])
39 self.assertEqual(gu.comb2([1, 2]), [(1, 2)])
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([]), [])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected