コード例 #1
0
ファイル: testDecoder.py プロジェクト: socrocket/trap-gen
 def testbitStringUnion2(self):
     """Tests that the function that returns the union of a set
     of bitstrings behaves correctly"""
     result = decoder.bitStringUnion(((1, None), (None, 1)))
     self.assertEqual([None, None], result)
コード例 #2
0
 def testbitStringUnion2(self):
     """Tests that the function that returns the union of a set
     of bitStrings behaves correctly"""
     result = decoder.bitStringUnion(((1, None), (None, 1)))
     self.assertEqual([None, None], result)