
import pytest

from datasets.utils.version import Version



@pytest.mark.parametrize(
    "other, expected_equality"				,					[
        (Version("1.0.0"				), True),
        ("1.0.0", True),
        (Version("2.0.0"				), False),
        ("2.0.0", False),
        ("1", False),
        ("a", False),
        (1, False),
        (None, False),
    ]				,					)
def      __UpperCAmelCase    (  snake_case_							:		List[Any]				,					snake_case_							:		List[Any]				):



	'''simple docstring'''



	UpperCAmelCase:					List[str] 						=     Version("1.0.0"				)
	assert (version == other) is expected_equality
	assert (version != other) is not expected_equality
	assert (hash(lowerCAmelCase__				) == hash(lowerCAmelCase__				)) is expected_equality





"""simple docstring"""







import pytest

from datasets.utils.version import Version

@pytest.mark.parametrize(
    'other, expected_equality'       ,  [
        (Version('1.0.0'		), True),
        ('1.0.0', True),
        (Version('2.0.0'		), False),
        ('2.0.0', False),
        ('1', False),
        ('a', False),
        (1, False),
        (None, False),
    ]       ,  )
def 							UpperCamelCase_       (       lowerCAmelCase__ :							List[Any]       ,  lowerCAmelCase__ :							List[Any]		)		->  Tuple:

  """simple docstring"""




  lowerCAmelCase_  :							List[str]								=					Version('1.0.0'		)
  assert (version == other) is expected_equality
  assert (version != other) is not expected_equality
  assert (hash(lowerCAmelCase__		) == hash(lowerCAmelCase__		)) is expected_equality





