c731bf578f
Add class FRBHMBasic, which derives FBCM and RADAR. ReferencePoint: Add functions friis_index_for_ap() and friis_indexes_for_ap() (that takes code away from Stock::update_all_friis_indexes()). CartographyAlgorithm and MultilaterationAlgorithm now extend PositioningAlgorithm with "public virtual" instead of "public". CartographyAlgorithm: select_point() must now return a ReferencePoint. MultilaterationMethod: Add pure virtual function multilaterate_2d(). MinMax: Add function multilaterate_2d(). MultilaterationAlgorithm: Add function multilaterate_2d() to map MultilaterationMethod::multilaterate_2d(). Makefile: Fix some dependencies.
25 lines
559 B
C++
25 lines
559 B
C++
#include <cxxtest/TestSuite.h>
|
|
|
|
#include "frbhmbasic.hh"
|
|
|
|
class FRBHMBasic_test: public CxxTest::TestSuite
|
|
{
|
|
public:
|
|
|
|
void test_compute(void)
|
|
{
|
|
PositioningAlgorithm *algo = new FRBHMBasic() ;
|
|
|
|
/*
|
|
* TODO: implement the test.
|
|
* I was told to accelerate the development, so I leave unneeded unit
|
|
* tests for later. This tests *is* actually needed, but I did some
|
|
* result comparison between the old version of OWLPS Positioning and
|
|
* the current one, and, hm, let's say it's OK for now…
|
|
*/
|
|
|
|
delete algo ;
|
|
}
|
|
|
|
} ;
|