func TestGetPodFullName(t *testing.T) { … } func newPriorityPodWithStartTime(name string, priority int32, startTime time.Time) *v1.Pod { … } func TestGetEarliestPodStartTime(t *testing.T) { … } func TestMoreImportantPod(t *testing.T) { … } func TestRemoveNominatedNodeName(t *testing.T) { … } func TestPatchPodStatus(t *testing.T) { … } // Test_As tests the As function with Pod. func Test_As_Pod(t *testing.T) { … } // Test_As_Node tests the As function with Node. func Test_As_Node(t *testing.T) { … } // Test_As_KMetadata tests the As function with Pod. func Test_As_KMetadata(t *testing.T) { … }