ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
least_absolute_deviations_test.cc File Reference
#include "util/testing.h"
#include <Eigen/Dense>
#include "optim/least_absolute_deviations.h"
#include "util/random.h"
Include dependency graph for least_absolute_deviations_test.cc:

Go to the source code of this file.

Macros

#define TEST_NAME   "optim/least_absolute_deviations"
 

Functions

 BOOST_AUTO_TEST_CASE (TestOverDetermined)
 
 BOOST_AUTO_TEST_CASE (TestWellDetermined)
 
 BOOST_AUTO_TEST_CASE (TestUnderDetermined)
 

Macro Definition Documentation

◆ TEST_NAME

#define TEST_NAME   "optim/least_absolute_deviations"

Definition at line 32 of file least_absolute_deviations_test.cc.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( TestOverDetermined  )

Definition at line 42 of file least_absolute_deviations_test.cc.

References e, colmap::SolveLeastAbsoluteDeviations(), and x.

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( TestUnderDetermined  )

Definition at line 96 of file least_absolute_deviations_test.cc.

References colmap::SolveLeastAbsoluteDeviations(), and x.

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( TestWellDetermined  )

Definition at line 69 of file least_absolute_deviations_test.cc.

References e, colmap::SolveLeastAbsoluteDeviations(), and x.