Lines Matching refs:assertAlmostEqual
127 self.assertAlmostEqual(
205 self.assertAlmostEqual(answer, expected)
254 self.assertAlmostEqual(self.nav.xcor(), 100)
255 self.assertAlmostEqual(self.nav.ycor(), -100)
274 self.assertAlmostEqual(self.nav.xcor(), 100)
275 self.assertAlmostEqual(self.nav.ycor(), -100)
277 self.assertAlmostEqual(self.nav.xcor(), 0)
278 self.assertAlmostEqual(self.nav.ycor(), 0)
307 self.assertAlmostEqual(self.nav.distance(Vec2D(0,0)), expected)
311 self.assertAlmostEqual(self.nav.heading(), 90)
313 self.assertAlmostEqual(self.nav.heading(), 1.57079633)
315 self.assertAlmostEqual(self.nav.heading(), 90)
339 self.assertAlmostEqual(self.nav.heading(), 90)
341 self.assertAlmostEqual(self.nav.heading(), 135)
343 self.assertAlmostEqual(self.nav.heading(), 133.4)
368 self.assertAlmostEqual(self.nav.heading(), sum_so_far % 360)
372 self.assertAlmostEqual(self.nav.heading(), 102.32)
374 self.assertAlmostEqual(self.nav.heading(), (-123.23) % 360)
376 self.assertAlmostEqual(self.nav.heading(), (-1000.34) % 360)
378 self.assertAlmostEqual(self.nav.heading(), 300000%360)
396 self.assertAlmostEqual(self.nav.heading(), 0)
399 self.assertAlmostEqual(self.nav.distance(30, 40), 50)
401 self.assertAlmostEqual(self.nav.distance(vec), 0.22000227271553355)
405 self.assertAlmostEqual(self.nav.distance(another_turtle), 10000)