cleanup
parent
8e40b28426
commit
48be990ef1
|
|
@ -34,22 +34,6 @@ namespace gtsam {
|
||||||
template <class Derived>
|
template <class Derived>
|
||||||
class Testable {
|
class Testable {
|
||||||
|
|
||||||
public:
|
|
||||||
// virtual ~Testable() {}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* print
|
|
||||||
* @param s optional string naming the object
|
|
||||||
*/
|
|
||||||
// virtual void print(const std::string& name) const = 0;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* equality up to tolerance
|
|
||||||
* tricky to implement, see NonlinearFactor1 for an example
|
|
||||||
* equals is not supposed to print out *anything*, just return true|false
|
|
||||||
*/
|
|
||||||
// virtual bool equals(const Derived& expected, double tol) const = 0;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static void concept(const Derived& d) {
|
static void concept(const Derived& d) {
|
||||||
const Derived *const_derived = static_cast<Derived*>(&d);
|
const Derived *const_derived = static_cast<Derived*>(&d);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue