Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3036 closed enhancement (fixed)

Add regression tests for KNN

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.1.6
Component: postgis Version: 2.0.x
Keywords: Cc:

Description

I could not find regression tests for ORDER BY <-> and <#>. If they are really missing, this ticket is to add them.

Change History (7)

comment:1 by robe, 10 years ago

Milestone: PostGIS 2.2.0

lets make this 2.2

comment:2 by strk, 10 years ago

With r13235 I've extracted existing operator tests into a new "operators.sql" file, that's where new tests should be hosted.

Beside, tests for other operators are missing, noted in r13236

comment:3 by strk, 10 years ago

Owner: changed from pramsey to strk
Status: newassigned

comment:4 by strk, 10 years ago

Resolution: fixed
Status: assignedclosed

A couple of tests were added with r13244. Would probably be useful to add more for the <#> one

comment:5 by strk, 10 years ago

Milestone: PostGIS 2.2.0PostGIS 2.1.6

r13259 in 2.1 branch (2.1.6)

comment:6 by strk, 10 years ago

tests are always good in stable branches...

comment:7 by strk, 10 years ago

tests that the KNN operator actually make use of an index have been committed as r13274 in 2.1 branch (2.1.6) and r13272 in trunk (2.2.0)

Note: See TracTickets for help on using tickets.