Classes | Namespaces | Defines
TSFLinearCombinationTester.hpp File Reference

Go to the source code of this file.

Classes

class  TSFExtended::LinearCombinationTester< Scalar >

Namespaces

namespace  TSFExtended

Defines

#define TESTER(form1, form2)

Define Documentation

#define TESTER (   form1,
  form2 
)
Value:
{\
    Out::os() << "testing " #form1 << std::endl;\
    Vector<Scalar> _val1 = form1;\
    Out::os() << "testing " #form2 << std::endl;\
    Vector<Scalar> _val2 = form2;\
    Out::os() << "done testing... checking error" << std::endl;\
    ScalarMag err = (_val1-_val2).norm2();\
    if (!checkTest(spec_, err, "[" #form1 "] == [" #form2 "]")) pass = false;\
  }

Definition at line 61 of file TSFLinearCombinationTester.hpp.

Referenced by TSFExtended::LinearCombinationTester< Scalar >::nonModifyingOpTests().

Site Contact