
'''simple docstring'''





import unittest

from transformers import is_torch_available, load_tool

from .test_tools_common import ToolTesterMixin


if is_torch_available():
						import torch

class     a (					unittest.TestCase					,__magic_name__     ):




				def 						__snake_case				(				self						:					str   ):
										snake_case							:  Tuple			=     load_tool('''speech-to-text'''   )
										self.tool.setup()




				def 						__snake_case				(				self						:					Dict   ):
										snake_case							:  int			=     self.tool(torch.ones(30_00   )   )
										self.assertEqual(SCREAMING_SNAKE_CASE_,     ''' you'''   )




				def 						__snake_case				(				self						:					List[Any]   ):
										snake_case							:  Union[str, Any]			=     self.tool(audio=torch.ones(30_00   )   )
										self.assertEqual(SCREAMING_SNAKE_CASE_,     ''' you'''   )



'''simple docstring'''





def   A			(							A_				:       int							):
						return n * (2 * n - 1)

def   A			(							A_				:       int							):
						snake_case							:  Optional[Any]			=     (1 + 24 * n) ** 0.5
						return ((1 + root) / 6) % 1 == 0

def   A			(							A_				:       int = 144							):
						snake_case							:  Any			=     start
						snake_case							:  Any			=     hexagonal_num(A_							)
						while not is_pentagonal(A_							):
												n += 1
												snake_case							:  Optional[Any]			=     hexagonal_num(A_							)
						return num


if __name__ == "__main__":
						print(f'''{solution()} = ''')

