func nodeWithTaints(nodeName string, taints []v1.Taint) *v1.Node { … } func podWithTolerations(podName string, tolerations []v1.Toleration) *v1.Pod { … } func TestTaintTolerationScore(t *testing.T) { … } func TestTaintTolerationFilter(t *testing.T) { … } func TestIsSchedulableAfterNodeChange(t *testing.T) { … } func Test_isSchedulableAfterPodTolerationChange(t *testing.T) { … }