Lines Matching refs:assertAlmostEqual
127 self.assertAlmostEqual(
216 self.assertAlmostEqual(answer, expected)
272 self.assertAlmostEqual(self.nav.xcor(), 100)
273 self.assertAlmostEqual(self.nav.ycor(), -100)
292 self.assertAlmostEqual(self.nav.xcor(), 100)
293 self.assertAlmostEqual(self.nav.ycor(), -100)
295 self.assertAlmostEqual(self.nav.xcor(), 0)
296 self.assertAlmostEqual(self.nav.ycor(), 0)
325 self.assertAlmostEqual(self.nav.distance(Vec2D(0,0)), expected)
329 self.assertAlmostEqual(self.nav.heading(), 90)
331 self.assertAlmostEqual(self.nav.heading(), 1.57079633)
333 self.assertAlmostEqual(self.nav.heading(), 90)
357 self.assertAlmostEqual(self.nav.heading(), 90)
359 self.assertAlmostEqual(self.nav.heading(), 135)
361 self.assertAlmostEqual(self.nav.heading(), 133.4)
386 self.assertAlmostEqual(self.nav.heading(), sum_so_far % 360)
390 self.assertAlmostEqual(self.nav.heading(), 102.32)
392 self.assertAlmostEqual(self.nav.heading(), (-123.23) % 360)
394 self.assertAlmostEqual(self.nav.heading(), (-1000.34) % 360)
396 self.assertAlmostEqual(self.nav.heading(), 300000%360)
414 self.assertAlmostEqual(self.nav.heading(), 0)
417 self.assertAlmostEqual(self.nav.distance(30, 40), 50)
419 self.assertAlmostEqual(self.nav.distance(vec), 0.22000227271553355)
423 self.assertAlmostEqual(self.nav.distance(another_turtle), 10000)