code: def test_breast_cancer_2(breast_cancer):
      X, y = breast_cancer
  
      tree = SurvivalTree(
          max_features="log2",
          splitter="random",
          max_depth=5,
          min_samples_split=30,
          min_samples_leaf=15,
          random_state=6,
      )
      tree.fit(X.values, y)
  
      assert tree.tree_.capacity == 11
      assert_array_equal(
          tree.tree_.feature,
          np.array(
              [
                  55,
                  14,
                  TREE_UNDEFINED,
                  60,
                  23,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  31,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
              ]
          ),
      )
      assert_array_equal(
          tree.tree_.n_node_samples,
          np.array(
              [
                  198,
                  153,
                  76,
                  77,
                  46,
                  16,
                  30,
                  31,
                  16,
                  15,
                  45,
              ]
          ),
      )
      assert_array_almost_equal(
          tree.tree_.threshold,
          np.array(
              [
                  11.3019,
                  9.0768,
                  TREE_UNDEFINED,
                  8.6903,
                  6.83564,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  10.66262,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
              ]
          ),
          5,
      )
  
imports: from itertools import product
  from queue import LifoQueue
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  import pandas
  import pytest
  from scipy import sparse
  from sklearn.model_selection import train_test_split
  from sklearn.pipeline import make_pipeline
  from sklearn.preprocessing import OrdinalEncoder
  from sklearn.tree._tree import TREE_UNDEFINED
  from sksurv.compare import compare_survival
  from sksurv.datasets import load_breast_cancer, load_veterans_lung_cancer
  from sksurv.nonparametric import kaplan_meier_estimator, nelson_aalen_estimator
  from sksurv.tree import SurvivalTree
  from sksurv.util import Surv
label_desc: Use image node_id 11 for calling a global function with example usage: test_breast_cancer_2(breast_cancer) without return types