示例#1
0
 def test_b1(self):
     assert b1(0b00000010) == 1
     assert b1(0b00000000) == 0
示例#2
0
 def dgps(self):
     """``True`` if DGPS was used."""
     return b1(self.values[3]) == 1