MCPcopy Index your code
hub / github.com/python/cpython / test_pos

Method test_pos

Lib/test/test_turtle.py:311–314  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

309 self.assertAlmostEqual(self.nav.ycor(), 30)
310
311 def test_pos(self):
312 self.assertEqual(self.nav.pos(), self.nav._position)
313 self.nav.goto(100, -100)
314 self.assertEqual(self.nav.pos(), self.nav._position)
315
316 def test_left(self):
317 self.assertEqual(self.nav._orient, (1.0, 0))

Callers

nothing calls this directly

Calls 3

gotoMethod · 0.80
assertEqualMethod · 0.45
posMethod · 0.45

Tested by

no test coverage detected