コード例 #1
0
ファイル: pset_oper.py プロジェクト: calebsmith/Sator
 def testNewFromInt(self):
     """Using fromint staticmethod to create new PCSets"""
     a = PCSet.fromint(5)
     self.assertEqual(a, [0, 2])
     b = PCSet.fromint(630, 7)
     self.assertEqual(b, [1, 2, 4, 5, 6])