def testDecAct_onlyCdma20001xRTT(self): self.assertEqual(utils.dec_act("0010"), ["cdma2000 1xRTT"])
def testDecAct_allSet(self): self.assertEqual(utils.dec_act("ffff"), ["UTRAN", "E-UTRAN", "GSM", "GSM COMPACT", "cdma2000 HRPD", "cdma2000 1xRTT"])
def testDecAct_onlyCdma2000HRPD(self): self.assertEqual(utils.dec_act("0020"), ["cdma2000 HRPD"])
def testDecAct_onlyGsmCompact(self): self.assertEqual(utils.dec_act("0040"), ["GSM COMPACT"])
def testDecAct_onlyGsm(self): self.assertEqual(utils.dec_act("0080"), ["GSM"])
def testDecAct_onlyEUtran(self): self.assertEqual(utils.dec_act("4000"), ["E-UTRAN"])
def testDecAct_noneSet(self): self.assertEqual(utils.dec_act("0000"), [])