NearestNeighborTest: use ts->get_rng() instead of (implicit) theRNG()
authorRoman Donchenko <roman.donchenko@itseez.com>
Thu, 30 Jul 2015 15:03:48 +0000 (18:03 +0300)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Thu, 17 Sep 2015 10:37:26 +0000 (13:37 +0300)
commit3231c2f99562eb115296f1432a734fc23b333861
tree8d387401d0ea65da6a7d205fb7556d0098e5f422
parent16bcc30e429321eeea995575ff9361e2cc4ef250
NearestNeighborTest: use ts->get_rng() instead of (implicit) theRNG()

This ensures that test data is not dependent on the order the tests are
executed in.

(cherry picked from commit 1245cd175283b11800bbbdc52287957cc3d76417)
modules/features2d/test/test_nearestneighbors.cpp