func TestComputePodQOS(t *testing.T) { … } func getResourceList(cpu, memory string) v1.ResourceList { … } func addResource(rName, value string, rl v1.ResourceList) v1.ResourceList { … } func getResourceRequirements(requests, limits v1.ResourceList) v1.ResourceRequirements { … } func newContainer(name string, requests v1.ResourceList, limits v1.ResourceList) v1.Container { … } func newPod(name string, containers []v1.Container) *v1.Pod { … } func newPodWithInitContainers(name string, containers []v1.Container, initContainers []v1.Container) *v1.Pod { … }