Example #1
0
 def test_divide_into_4(self):
     angles = Trig.circle_central_angles(4)
     angles.sort()
     expected = list([0, 90, 180, 270])
     self.assertEqual(expected, angles)
Example #2
0
 def test_divide_into_9(self):
     angles = Trig.circle_central_angles(9)
     angles.sort()
     expected = list([0, 40, 80, 120, 160, 200, 240, 280, 320])
     self.assertEqual(expected, angles)