code: def test_longdouble_from_bool(bool_val):
      assert np.longdouble(bool_val) == np.longdouble(int(bool_val))
  
imports: import warnings
  import platform
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_raises, assert_warns, assert_array_equal, temppath, IS_MUSL
  from __tests__.numpy.core.tests._locales import CommaDecimalPointLocale
label_desc: Use image node_id 16 for calling a global function with example usage: test_longdouble_from_bool(bool_val) without return types