def test_is_high_and_is_low(self):
     gpio = MockGPIO()
     gpio.pin_read[1] = [0, 0, 1, 1]
     self.assertTrue(gpio.is_low(1))
     self.assertFalse(gpio.is_high(1))
     self.assertFalse(gpio.is_low(1))
     self.assertTrue(gpio.is_high(1))
	def test_is_high_and_is_low(self):
		gpio = MockGPIO()
		gpio.pin_read[1] = [0, 0, 1, 1]
		self.assertTrue(gpio.is_low(1))
		self.assertFalse(gpio.is_high(1))
		self.assertFalse(gpio.is_low(1))
		self.assertTrue(gpio.is_high(1))