code: def test_breast_cancer_1(breast_cancer):
      X, y = breast_cancer
  
      tree = SurvivalTree(
          max_features="sqrt",
          max_depth=5,
          max_leaf_nodes=10,
          min_samples_split=0.06,
          min_samples_leaf=0.03,
          random_state=6,
      )
      tree.fit(X.values, y)
  
      assert tree.tree_.capacity == 19
      assert_array_equal(
          tree.tree_.feature,
          np.array(
              [
                  61,
                  29,
                  5,
                  TREE_UNDEFINED,
                  40,
                  65,
                  TREE_UNDEFINED,
                  10,
                  12,
                  4,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  10,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
              ]
          ),
      )
      assert_array_equal(
          tree.tree_.n_node_samples,
          np.array(
              [
                  198,
                  170,
                  28,
                  8,
                  20,
                  164,
                  6,
                  59,
                  105,
                  74,
                  31,
                  9,
                  65,
                  13,
                  7,
                  39,
                  20,
                  7,
                  13,
              ]
          ),
      )
      assert_array_almost_equal(
          tree.tree_.threshold,
          np.array(
              [
                  10.97448,
                  11.10251,
                  11.34859,
                  TREE_UNDEFINED,
                  10.53533,
                  8.08848,
                  TREE_UNDEFINED,
                  10.86403,
                  10.14138,
                  11.49171,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  TREE_UNDEFINED,
                  11.01874,
                  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 10 for calling a global function with example usage: test_breast_cancer_1(breast_cancer) without return types