added exercise 2

This commit is contained in:
2025-01-16 11:01:55 +01:00
parent 107c338abe
commit 84fde862e1
4 changed files with 58 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ class MyTestCase(unittest.TestCase):
countTriangles([(0, 1), (1, 2), (0, 2)]),
1
)
def test_simple2(self):
self.assertEqual(
countTriangles([(2, 1), (1, 2), (2, 3)]),