예제 #1
0
 def test_alternating(self):
     expected = [19, 34, 48, 51, 52, 72, 78, 88, 91, 99, 110,
                 120, 126, 132, 165, 168, 180, 195, 231, 315, 420]
     g = AlternatingGroup(21)
     self.assertSequenceEqual(expected, g.apex())