MCPcopy Create free account
hub / github.com/exercism/python / test_exactly_on_center

Method test_exactly_on_center

exercises/practice/darts/darts_test.py:25–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 self.assertEqual(score(0, -1), 10)
24
25 def test_exactly_on_center(self):
26 self.assertEqual(score(0, 0), 10)
27
28 def test_near_the_center(self):
29 self.assertEqual(score(-0.1, -0.1), 10)

Callers

nothing calls this directly

Calls 1

scoreFunction · 0.90

Tested by

no test coverage detected