

from scipy.constants import g

def 			__snake_case	(   __UpperCamelCase  :   List[Any]							,__UpperCamelCase  :   int						):



      """simple docstring"""

      if mass < 0:
            # handling of negative values of mass
            raise ValueError("The mass of a body cannot be negative"						)
      if height < 0:
            # handling of negative values of height
            raise ValueError("The height above the ground cannot be negative"						)
      return mass * g * height


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

      testmod(name='potential_energy')


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 			__snake_case	(   __UpperCamelCase  :   Any							,__UpperCamelCase  :   List[Any]						):



      """simple docstring"""

      A_	     =							Version("1.0.0"						)
      assert (version == other) is expected_equality
      assert (version != other) is not expected_equality
      assert (hash(__UpperCamelCase						) == hash(__UpperCamelCase						)) is expected_equality