def test_set_operation_not_disable_left_bit_array(self): view_model = BitArrayViewModel() view_model.set_operation(Operation.OR) self.assertTrue(view_model.get_left_bit_array_enabled())
def test_set_operation_disable_left_bit_array(self): view_model = BitArrayViewModel() view_model.set_operation(Operation.INVERT) self.assertFalse(view_model.get_left_bit_array_enabled())