INNER CODE UNIT · Go

TestUnknown

cloudflare/cfrpki · ov/ov_test.go:94

func TestUnknown(t *testing.T) {
	vrp, route := MakeData()
	ov := NewOV(vrp[3:3])
	matching, state, err := ov.Validate(route)
	assert.Nil(t, err)
	assert.Equal(t, 0, len(matching))
	assert.Equal(t, STATE_UNKNOWN, state)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…