def testbitStringValid1(self): """Tests that the function that returns the valid bits in a set of bitstrings behaves correctly when there are no valid bits.""" result = decoder.bitStringValid(((None, 1), (0, None))) self.assertEqual([None, None], result)
def testbitStringValid1(self): """Tests that the function that returns the valid bits in a set of bitStrings behaves correctly when there are no valid bits""" result = decoder.bitStringValid(((None, 1), (0, None))) self.assertEqual([None, None], result)
def testbitStringValid0(self): """Tests that the function that returns the valid bits in a set of bitstrings behaves correctly.""" result = decoder.bitStringValid(((1, 1), (0, None))) self.assertEqual([1, None], result)
def testbitStringValid0(self): """Tests that the function that returns the valid bits in a set of bitStrings behaves correctly""" result = decoder.bitStringValid(((1, 1), (0, None))) self.assertEqual([1, None], result)