code: def test_itersamples_disk():
      """Test that iterating over samples in a DiskDataset works."""
      solubility_dataset = load_solubility_data()
      X = solubility_dataset.X
      y = solubility_dataset.y
      w = solubility_dataset.w
      ids = solubility_dataset.ids
      for i, (sx, sy, sw, sid) in enumerate(
          solubility_dataset.itersamples()
      ):
          np.testing.assert_array_equal(sx, X[i])
          np.testing.assert_array_equal(sy, y[i])
          np.testing.assert_array_equal(sw, w[i])
          np.testing.assert_array_equal(sid, ids[i])
  
imports: import random
  import math
  import unittest
  import os
  import numpy
  import pytest
  import deepchem
  import pandas
  import tempfile
label_desc: Use image node_id 14 for calling a global function with example usage: test_itersamples_disk() without return types