xmsinterp  1.0
InterpIdw.t.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef CXX_TEST
3 //------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------
9 
10 //----- Included files ---------------------------------------------------------
11 // 3. Standard Library Headers
12 
13 // 4. External Library Headers
14 #include <cxxtest/TestSuite.h>
15 
16 // 5. Shared Headers
17 
18 // 6. Non-shared Headers
19 
20 //----- Forward declarations ---------------------------------------------------
21 
22 //----- Namespace declaration --------------------------------------------------
23 // namespace xms {
24 
25 //----- Constants / Enumerations -----------------------------------------------
26 
27 //----- Structs / Classes ------------------------------------------------------
28 class InterpIdwUnitTests : public CxxTest::TestSuite
29 {
30 public:
31  void testCreateClass();
32 
33  void testInterpToPts();
34  void testInterp2d_a();
35  void testInterp2d_b();
36  void testInterp2d_c();
37  void testInterp2d_d();
38  void testInterp2d_e();
39  void testInterp2d_f();
40  void testInterp3d();
41 
42  void testErrors();
43  void testErrors2();
44 };
45 
46 //----- Function prototypes ----------------------------------------------------
47 
48 //} // namespace xms
49 #endif // CXX_TEST
void testInterp2d_b()
tests 2d interpolation using all idw points
Definition: InterpIdw.cpp:832
void testInterp2d_e()
tests 2d interpolation using classic weighting, exponent set to 1
Definition: InterpIdw.cpp:891
void testInterp3d()
test 3d interpolation
Definition: InterpIdw.cpp:932
void testInterp2d_a()
tests 2d interpolation
Definition: InterpIdw.cpp:813
void testInterp2d_f()
test 2d interpolation with a quadratic nodal function
Definition: InterpIdw.cpp:914
void testCreateClass()
Creates a class.
Definition: InterpIdw.cpp:786
void testErrors()
test error reporting. Errors can be generated by the nodal function setup process.
Definition: InterpIdw.cpp:956
tester for the InterpIdw class
Definition: InterpIdw.t.h:28
void testErrors2()
test error reporting.
Definition: InterpIdw.cpp:979
void testInterp2d_c()
tests 2d interpolation using nearest 5 points
Definition: InterpIdw.cpp:850
void testInterp2d_d()
tests 2d interpolation changing the exponent to 3 and nearest 6 pts
Definition: InterpIdw.cpp:871
void testInterpToPts()
tests interpolating to 1 location from 1 location
Definition: InterpIdw.cpp:794