




"""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 							snake_case_ (				unittest.TestCase  ,   lowerCamelCase_ ):







   """simple docstring"""




   def      UpperCAmelCase__ (		self)							->      int:
       UpperCamelCase										=  load_tool('''speech-to-text''')
       self.tool.setup()







   def      UpperCAmelCase__ (		self)							->      Dict:
       UpperCamelCase										=  self.tool(torch.ones(3_0_0_0))
       self.assertEqual(lowerCamelCase_					,				''' you''')







   def      UpperCAmelCase__ (		self)							->      List[Any]:
       UpperCamelCase										=  self.tool(audio=torch.ones(3_0_0_0))
       self.assertEqual(lowerCamelCase_					,				''' you''')





"""simple docstring"""







from math import pi





def     __snake_case   (							_lowercase						):


    """simple docstring"""







    return degree / (180 / pi)


if __name__ == "__main__":
  from doctest import testmod

  testmod()