code: def test_check_execution_micro(
      self, small_wikiann_train_test_text_data
  ):
      # Arrange
      train, test = small_wikiann_train_test_text_data
      check = TrainTestPerformance(min_samples=50)
      # Act
      result = check.run(
          train_dataset=train,
          test_dataset=test,
          train_predictions=list(train.label),
          test_predictions=list(test.label),
      )
      # Assert
      assert isinstance(result.value, pd.DataFrame), type(result.value)
      assert set(result.value["Dataset"]) == {"Train", "Test"}
      assert set(
          result.value[result.value["Value"].notna()]["Value"]
      ) == {1.0}
      assert set(
          result.value[
              (result.value["Value"].notna())
              & (result.value["Dataset"] == "Train")
          ]["Class"]
      ) == {"PER", "ORG"}
  
file_path: deepchecks/tests/nlp/checks/model_evaluation/train_test_performance_test.py
imports: import typing
  import pandas
  from hamcrest import *
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.nlp.checks import TrainTestPerformance
  from deepchecks.nlp.text_data import TextData
label_desc: Use image node_id 2 for calling the TestTokenClassification obj's underlying member method code with example usage: obj.test_check_execution_micro(small_wikiann_train_test_text_data) without return types