code: def test_decimals(gdb_arrow):
      v128 = "98765432109876543210987654321098765432"
      check_stack_repr(
          gdb_arrow, "decimal128_zero", "arrow::Decimal128(0)"
      )
      check_stack_repr(
          gdb_arrow, "decimal128_pos", f"arrow::Decimal128({v128})"
      )
      check_stack_repr(
          gdb_arrow, "decimal128_neg", f"arrow::Decimal128(-{v128})"
      )
      check_stack_repr(
          gdb_arrow,
          "basic_decimal128_zero",
          "arrow::BasicDecimal128(0)",
      )
      check_stack_repr(
          gdb_arrow,
          "basic_decimal128_pos",
          f"arrow::BasicDecimal128({v128})",
      )
      check_stack_repr(
          gdb_arrow,
          "basic_decimal128_neg",
          f"arrow::BasicDecimal128(-{v128})",
      )
  
      v256 = (
          "9876543210987654321098765432109876543210"
          "987654321098765432109876543210987654"
      )
      check_stack_repr(
          gdb_arrow, "decimal256_zero", "arrow::Decimal256(0)"
      )
      check_stack_repr(
          gdb_arrow, "decimal256_pos", f"arrow::Decimal256({v256})"
      )
      check_stack_repr(
          gdb_arrow, "decimal256_neg", f"arrow::Decimal256(-{v256})"
      )
      check_stack_repr(
          gdb_arrow,
          "basic_decimal256_zero",
          "arrow::BasicDecimal256(0)",
      )
      check_stack_repr(
          gdb_arrow,
          "basic_decimal256_pos",
          f"arrow::BasicDecimal256({v256})",
      )
      check_stack_repr(
          gdb_arrow,
          "basic_decimal256_neg",
          f"arrow::BasicDecimal256(-{v256})",
      )
  
imports: from functools import lru_cache
  import os
  import re
  import shutil
  import subprocess
  import sys
  import pytest
  import pyarrow
label_desc: Use image node_id 15 for calling a global function with example usage: test_decimals(gdb_arrow) without return types