code: def test_extended_gcd(self, simple_index):
      index = simple_index
      result = index._extended_gcd(6, 10)
      assert result[0] == result[1] * 6 + result[2] * 10
      assert 2 == result[0]
  
      result = index._extended_gcd(10, 6)
      assert 2 == result[1] * 10 + result[2] * 6
      assert 2 == result[0]
  
imports: import numpy
  import pytest
  from pandas.core.dtypes.common import ensure_platform_int
  import pandas
  from pandas import Index, RangeIndex
  import pandas._testing
label_desc: Use image node_id 32 for calling the TestRangeIndex obj's underlying member method code with example usage: obj.test_extended_gcd(simple_index) without return types