Lines Matching refs:assertAlmostEqual
127 self.assertAlmostEqual(
208 self.assertAlmostEqual(answer, expected)
258 self.assertAlmostEqual(self.nav.xcor(), 100)
259 self.assertAlmostEqual(self.nav.ycor(), -100)
278 self.assertAlmostEqual(self.nav.xcor(), 100)
279 self.assertAlmostEqual(self.nav.ycor(), -100)
281 self.assertAlmostEqual(self.nav.xcor(), 0)
282 self.assertAlmostEqual(self.nav.ycor(), 0)
311 self.assertAlmostEqual(self.nav.distance(Vec2D(0,0)), expected)
315 self.assertAlmostEqual(self.nav.heading(), 90)
317 self.assertAlmostEqual(self.nav.heading(), 1.57079633)
319 self.assertAlmostEqual(self.nav.heading(), 90)
343 self.assertAlmostEqual(self.nav.heading(), 90)
345 self.assertAlmostEqual(self.nav.heading(), 135)
347 self.assertAlmostEqual(self.nav.heading(), 133.4)
372 self.assertAlmostEqual(self.nav.heading(), sum_so_far % 360)
376 self.assertAlmostEqual(self.nav.heading(), 102.32)
378 self.assertAlmostEqual(self.nav.heading(), (-123.23) % 360)
380 self.assertAlmostEqual(self.nav.heading(), (-1000.34) % 360)
382 self.assertAlmostEqual(self.nav.heading(), 300000%360)
400 self.assertAlmostEqual(self.nav.heading(), 0)
403 self.assertAlmostEqual(self.nav.distance(30, 40), 50)
405 self.assertAlmostEqual(self.nav.distance(vec), 0.22000227271553355)
409 self.assertAlmostEqual(self.nav.distance(another_turtle), 10000)