Exemplo n.º 1
0
 def test_b2(self):
     assert b2(0b00000100) == 1
     assert b2(0b00000000) == 0
Exemplo n.º 2
0
 def two_d(self):
     """``True`` if this was a 2D fix."""
     return b2(self.values[3]) == 1