
'''simple docstring'''





import math


class 			UpperCamelCase__	:






 def __init__(      self	:Any						,					_A	:Dict						,					_A	:int						,					_A	:List[str]      )					->      List[Any]:







       '''simple docstring'''



       __A													=      x
       __A													=      y
       __A													=      z






 def __repr__(      self	:Dict      )					->      str:







       '''simple docstring'''



       return F'Point({self.x}, {self.y}, {self.z})'





def 							snake_case				(		UpperCAmelCase   ,	UpperCAmelCase						)->      float:







      """simple docstring"""
      return math.sqrt(abs((b.x - a.x) ** 2 + (b.y - a.y) ** 2 + (b.z - a.z) ** 2						)						)


if __name__ == "__main__":
 import doctest

 doctest.testmod()










"""simple docstring"""


import unittest
from pathlib import Path
from tempfile import TemporaryDirectory
from unittest.mock import Mock, patch

import diffusers.utils.hub_utils
class snake_case   (	unittest.TestCase):







		@patch("diffusers.utils.hub_utils.get_full_repo_name"		)
		def 			a_			(       self   :							Any     , a__   :							Mock		)							->    None:





						'''simple docstring'''







						_A       	=      "full_repo_name"
						with TemporaryDirectory() as tmpdir:
										# Dummy args values
										_A       	=      Mock()
										_A       	=      tmpdir
										_A       	=      0
										_A       	=      "hub_token"
										_A       	=      "dataset_name"
										_A       	=      0.0_1
										_A       	=      10_00_00
										_A       	=      1_00_00
										_A       	=      0.0_1
										_A       	=      0.0_2
										_A       	=      0.0_3
										_A       	=      0.0_0_0_5
										_A       	=      0.0_0_0_0_0_1
										_A       	=      1
										_A       	=      10
										_A       	=      0.0_0_1
										_A       	=      0.1
										_A       	=      0.2
										_A       	=      True

										# Model card mush be rendered and saved
										diffusers.utils.hub_utils.create_model_card(a__     , model_name="model_name"		)
										self.assertTrue((Path(a__		) / "README.md").is_file()		)