func TestParseVersion(t *testing.T) { … } func TestLevelVersionEquals(t *testing.T) { … } func TestPolicyEquals(t *testing.T) { … } func TestPolicyToEvaluate(t *testing.T) { … } // makeLabels turns the kev-value pairs into a labels map[string]string. func makeLabels(kvs ...string) map[string]string { … }