




"""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     ,	lowercase_     ):




	def 							a_		(   self  :	Union[str, Any]	)					-> Tuple:
						__snake_case          =	load_tool("""speech-to-text"""	)
						self.tool.setup()




	def 							a_		(   self  :	Any	)					-> int:
						__snake_case          =	self.tool(torch.ones(3_000	)	)
						self.assertEqual(lowercase      ,    """ you"""	)




	def 							a_		(   self  :	Dict	)					-> Union[str, Any]:
						__snake_case          =	self.tool(audio=torch.ones(3_000	)	)
						self.assertEqual(lowercase      ,    """ you"""	)








"""simple docstring"""

from itertools import combinations_with_replacement




def       snake_case__	(       lowerCAmelCase   :		int = 100		):
					__snake_case          =	[*list(range(1				,					21		)		), 25]
					__snake_case          =	[2 * x for x in range(1				,					21		)] + [50]
					__snake_case          =	[3 * x for x in range(1				,					21		)]
					__snake_case          =	singles + doubles + triples + [0]

					__snake_case          =	0
					__snake_case          =	42
					__snake_case          =	42
					__snake_case          =	42
					__snake_case          =	42

					for double in doubles:
										for throwa, throwa in combinations_with_replacement(lowerCAmelCase				,					2		):
															__snake_case          =	double + throwa + throwa
															if checkout_total < limit:
																				num_checkouts += 1

					return num_checkouts


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


