code: def test_general_full_dataloader(self):
      train_batch_size = 6
      eval_batch_size = 100
      config_dict = {
          "model": "BPR",
          "dataset": "general_full_dataloader",
          "data_path": current_path,
          "load_col": None,
          "train_neg_sample_args": {
              "distribution": "uniform",
              "sample_num": 1,
          },
          "eval_args": {
              "split": {"RS": [0.8, 0.1, 0.1]},
              "order": "TO",
              "mode": "full",
          },
          "train_batch_size": train_batch_size,
          "eval_batch_size": eval_batch_size,
      }
      train_data, valid_data, test_data = new_dataloader(
          config_dict=config_dict
      )
  
      def check_result(data, result):
          assert len(data) == len(result)
          for i, batch_data in enumerate(data):
              (
                  user_df,
                  history_index,
                  positive_u,
                  positive_i,
              ) = batch_data
              history_row, history_col = history_index
              assert len(user_df) == result[i]["len_user_df"]
              assert (
                  user_df["user_id"].numpy()
                  == result[i]["user_df_user_id"]
              ).all()
              assert (
                  len(history_row)
                  == len(history_col)
                  == result[i]["history_len"]
              )
              assert (
                  history_row.numpy() == result[i]["history_row"]
              ).all()
              assert (
                  history_col.numpy() == result[i]["history_col"]
              ).all()
              assert (
                  positive_u.numpy() == result[i]["positive_u"]
              ).all()
              assert (
                  positive_i.numpy() == result[i]["positive_i"]
              ).all()
  
      valid_result = [
          {
              "len_user_df": 1,
              "user_df_user_id": [1],
              "history_len": 40,
              "history_row": 0,
              "history_col": list(range(1, 41)),
              "positive_u": [0, 0, 0, 0, 0],
              "positive_i": [41, 42, 43, 44, 45],
          },
          {
              "len_user_df": 1,
              "user_df_user_id": [2],
              "history_len": 37,
              "history_row": 0,
              "history_col": list(range(1, 38)),
              "positive_u": [0, 0, 0, 0, 0],
              "positive_i": [38, 39, 40, 41, 42],
          },
          {
              "len_user_df": 1,
              "user_df_user_id": [3],
              "history_len": 0,
              "history_row": [],
              "history_col": [],
              "positive_u": [0],
              "positive_i": [1],
          },
      ]
      check_result(valid_data, valid_result)
  
      test_result = [
          {
              "len_user_df": 1,
              "user_df_user_id": [1],
              "history_len": 45,
              "history_row": 0,
              "history_col": list(range(1, 46)),
              "positive_u": [0, 0, 0, 0, 0],
              "positive_i": [46, 47, 48, 49, 50],
          },
          {
              "len_user_df": 1,
              "user_df_user_id": [2],
              "history_len": 37,
              "history_row": 0,
              "history_col": list(range(1, 36)) + [41, 42],
              "positive_u": [0, 0, 0, 0, 0],
              "positive_i": [36, 37, 38, 39, 40],
          },
          {
              "len_user_df": 1,
              "user_df_user_id": [3],
              "history_len": 0,
              "history_row": [],
              "history_col": [],
              "positive_u": [0],
              "positive_i": [1],
          },
      ]
      check_result(test_data, test_result)
  
file_path: RecBole/tests/data/test_dataloader.py
imports: import logging
  import os
  import pytest
  from recbole.data.dataloader.general_dataloader import NegSampleEvalDataLoader, FullSortEvalDataLoader
  from recbole.config import Config
  from recbole.data import create_dataset, data_preparation
  from recbole.utils import init_seed
label_desc: Use image node_id 4 for calling the TestGeneralDataloader obj's underlying member method code with example usage: obj.test_general_full_dataloader() without return types