
import unittest

from transformers import load_tool

from .test_tools_common import ToolTesterMixin




class        _SCREAMING_SNAKE_CASE	(   unittest.TestCase							,       __UpperCamelCase			):
      def A_      (      self			):
          snake_case__    =					load_tool("text-classification"			)
          self.tool.setup()
          snake_case__    =					load_tool("text-classification"		,						remote=lowerCamelCase			)
      def A_      (      self			):
          snake_case__    =					self.tool("That's quite cool"		,						["positive", "negative"]			)
          self.assertEqual(lowerCamelCase		,						"positive"			)
      def A_      (      self			):
          snake_case__    =					self.remote_tool("That's quite cool"		,						["positive", "negative"]			)
          self.assertEqual(lowerCamelCase		,						"positive"			)
      def A_      (      self			):
          snake_case__    =					self.tool(text="That's quite cool"		,						labels=["positive", "negative"]			)
          self.assertEqual(lowerCamelCase		,						"positive"			)



      def A_      (      self			):
          snake_case__    =					self.remote_tool(text="That's quite cool"		,						labels=["positive", "negative"]			)
          self.assertEqual(lowerCamelCase		,						"positive"			)





import math

__magic_name__  							=	10
__magic_name__  							=	7
__magic_name__  							=	BALLS_PER_COLOUR * NUM_COLOURS





def 						SCREAMING_SNAKE_CASE__     (   __lowerCAmelCase = 20				):
    snake_case__    =					math.comb(__lowerCAmelCase     ,		__lowerCAmelCase				)
    snake_case__    =					math.comb(NUM_BALLS - BALLS_PER_COLOUR     ,		__lowerCAmelCase				)

    snake_case__    =					NUM_COLOURS * (1 - missing_colour / total)

    return F"""{result:.9f}"""


if __name__ == "__main__":
     print(solution(20))



