def test_reserved_pins(self): reserved_pins = set(get_reserved_pins()) self.assertEqual(set(RESERVED_PINS), reserved_pins)
def test_interrupt_pins_are_reserved(self): reserved_pins = set(get_reserved_pins()) interrupt_pins = set(get_interrupt_pins()) self.assertTrue(interrupt_pins <= reserved_pins)
def test_get_reserved_pins(self): s = get_reserved_pins() self._assert_is_list_of_ints(s)
def test_actuation_pins_not_reserved(self): reserved_pins = set(get_reserved_pins()) self.assertFalse(self._pin_config.HEX_actuation_pin in reserved_pins) self.assertFalse(self._pin_config.HLT_actuation_pin in reserved_pins)
def get_reserved_pins(self): return get_reserved_pins()