





'''simple docstring'''

import inspect
import unittest

class       UpperCAmelCase (						unittest.TestCase  ):




		def 				UpperCAmelCase__   (self      :	Optional[Any]				)					-> Tuple:
						try:
										import diffusers  # noqa: F401
						except ImportError:
										assert False





		def 				UpperCAmelCase__   (self      :	Union[str, Any]				)					-> Tuple:
						import diffusers
						from diffusers.dependency_versions_table import deps

						lowercase         = 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         = "k-diffusion"
																		elif backend == "invisible_watermark":
																						lowercase         = "invisible-watermark"
																		assert backend in deps, f'{backend} is not in the deps table!'











'''simple docstring'''

__lowerCamelCase : str											=			8.314_4598







def 							UpperCAmelCase_    (	lowerCAmelCase_		,							lowerCAmelCase_							):

				"""simple docstring"""






				if temperature < 0:
								raise Exception("Temperature cannot be less than 0 K"							)
				if molar_mass <= 0:
								raise Exception("Molar mass cannot be less than or equal to 0 kg/mol"							)
				else:
								return (3 * UNIVERSAL_GAS_CONSTANT * temperature / molar_mass) ** 0.5


if __name__ == "__main__":
			import doctest

			# run doctest
			doctest.testmod()

			# example
			__lowerCamelCase : Optional[Any]											=			300
			__lowerCamelCase : Tuple											=			28
			__lowerCamelCase : str											=			rms_speed_of_molecule(temperature, molar_mass)
			print(f"Vrms of Nitrogen gas at 300 K is {vrms} m/s")




