


'''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     __SCREAMING_SNAKE_CASE       (   unittest.TestCase			,      lowerCamelCase__			):






     def 			a_       (      self		)							->     Optional[Any]:
          _a            =		load_tool("speech-to-text"		)
          self.tool.setup()






     def 			a_       (      self		)							->     Optional[Any]:
          _a            =		self.tool(torch.ones(3_000		)		)
          self.assertEqual(__UpperCamelCase  ,				" you"		)






     def 			a_       (      self		)							->     int:
          _a            =		self.tool(audio=torch.ones(3_000		)		)
          self.assertEqual(__UpperCamelCase  ,				" you"		)





'''simple docstring'''

def __UpperCamelCase (      __lowerCamelCase		:			float   ,	__lowerCamelCase		:			float   ,	__lowerCamelCase		:			float					)   ->  float:







     '''simple docstring'''






     if mass < 0:
          raise ValueError("The mass of the body cannot be negative"					)
     if radius <= 0:
          raise ValueError("The radius is always a positive non zero integer"					)
     return (mass * (velocity) ** 2) / radius


if __name__ == "__main__":
   import doctest

   doctest.testmod(verbose=True)

