






import inspect
import unittest

class 		lowerCAmelCase     ( unittest.TestCase			):

					'''simple docstring'''

					def       lowerCAmelCase				(  self				:	List[Any]							)			->  Optional[Any]:


												"""simple docstring"""

												try:
																			import diffusers  # noqa: F401
												except ImportError:
																			assert False



					def       lowerCAmelCase				(  self				:	Optional[Any]							)			->  Any:


												"""simple docstring"""

												import diffusers
												from diffusers.dependency_versions_table import deps

												__lowercase      :							Any				=     inspect.getmembers(__a		,     inspect.isclass							)

												for cls_name, cls_module in all_classes:
																			if "dummy_" in cls_module.__module__:
																										for backend in cls_module._backends:
																																	if backend == "k_diffusion":
																																								__lowercase      :							Union[str, Any]				=     """k-diffusion"""
																																	elif backend == "invisible_watermark":
																																								__lowercase      :							Dict				=     """invisible-watermark"""
																																	assert backend in deps, F"{backend} is not in the deps table!"







def       snake_case_		(     lowerCAmelCase_       :						int       ,       lowerCAmelCase_       :						int      ):
							return int((input_a, input_a).count(0      ) == 0      )
def       snake_case_		(     ):
							assert and_gate(0       ,       0      ) == 0
							assert and_gate(0       ,       1      ) == 0
							assert and_gate(1       ,       0      ) == 0
							assert and_gate(1       ,       1      ) == 1


if __name__ == "__main__":
	test_and_gate()
	print(and_gate(1, 0))
	print(and_gate(0, 0))
	print(and_gate(0, 1))
	print(and_gate(1, 1))