Index: /branches/eam_branches/ipp-20101103/psLib/test/imageops/tap_psImageInterpolate3.c
===================================================================
--- /branches/eam_branches/ipp-20101103/psLib/test/imageops/tap_psImageInterpolate3.c	(revision 29682)
+++ /branches/eam_branches/ipp-20101103/psLib/test/imageops/tap_psImageInterpolate3.c	(revision 29683)
@@ -39,5 +39,5 @@
            psElemType type,             // Type for image
            int num,                     // Number of samples over image
-           psImageInterpolateMode mode, // Interpolation mode
+           char *modeName, // Interpolation mode
            int xKernel, int yKernel,    // Size of interpolation kernel
            float tol,                    // Tolerance
@@ -49,4 +49,5 @@
     psImage *image = NULL;
 
+    psImageInterpolateMode mode = psImageInterpolateModeFromString(modeName);
     // psImageMaskType maskVal;
 
@@ -85,4 +86,6 @@
 	psFree (interp);
     }
+
+    fprintf (stderr, "results for interpolation mode %s\n", modeName);
 
     // measure the interpolate variance value at the specified locations
@@ -137,21 +140,21 @@
     plan_tests(6);
 
-    check(16, 16, PS_TYPE_F32, NTESTS, PS_INTERPOLATE_BILINEAR, 2, 2, 1.0e-6, rnd); // 66 tests
-    // check(16, 16, PS_TYPE_F64, 32, PS_INTERPOLATE_BILINEAR, 2, 2, 1.0e-6); // 66 tests
+    check(16, 16, PS_TYPE_F32, NTESTS, "BILINEAR", 2, 2, 1.0e-6, rnd); // 66 tests
+    // check(16, 16, PS_TYPE_F64, NTESTS, "BILINEAR", 2, 2, 1.0e-6); // 66 tests
 
-    check(16, 16, PS_TYPE_F32, NTESTS, PS_INTERPOLATE_BIQUADRATIC, 3, 3, 1.0e-6, rnd); // 66 tests
-    // check(16, 16, PS_TYPE_F64, 32, PS_INTERPOLATE_BIQUADRATIC, 3, 3, 1.0e-6); // 66 tests
+    check(16, 16, PS_TYPE_F32, NTESTS, "BIQUADRATIC", 3, 3, 1.0e-6, rnd); // 66 tests
+    // check(16, 16, PS_TYPE_F64, NTESTS, "BIQUADRATIC", 3, 3, 1.0e-6); // 66 tests
 
-    check(16, 16, PS_TYPE_F32, NTESTS, PS_INTERPOLATE_GAUSS, 3, 3, 1.0e-3, rnd); // 66 tests
-    // check(16, 16, PS_TYPE_F64, 32, PS_INTERPOLATE_GAUSS, 3, 3, 1.0e-3); // 66 tests
+    check(16, 16, PS_TYPE_F32, NTESTS, "GAUSS", 3, 3, 1.0e-3, rnd); // 66 tests
+    // check(16, 16, PS_TYPE_F64, NTESTS, "GAUSS", 3, 3, 1.0e-3); // 66 tests
 
-    check(16, 16, PS_TYPE_F32, NTESTS, PS_INTERPOLATE_LANCZOS2, 4, 4, 1.0e-3, rnd); // 66 tests
-    // check(16, 16, PS_TYPE_F64, 32, PS_INTERPOLATE_LANCZOS2, 4, 4, 1.0e-3); // 66 tests
+    check(16, 16, PS_TYPE_F32, NTESTS, "LANCZOS2", 4, 4, 1.0e-3, rnd); // 66 tests
+    // check(16, 16, PS_TYPE_F64, NTESTS, "LANCZOS2", 4, 4, 1.0e-3); // 66 tests
 
-    check(32, 32, PS_TYPE_F32, NTESTS, PS_INTERPOLATE_LANCZOS3, 6, 6, 1.0e-3, rnd); // 66 tests
-    // check(32, 32, PS_TYPE_F64, 32, PS_INTERPOLATE_LANCZOS3, 6, 6, 1.0e-3); // 66 tests
+    check(32, 32, PS_TYPE_F32, NTESTS, "LANCZOS3", 6, 6, 1.0e-3, rnd); // 66 tests
+    // check(32, 32, PS_TYPE_F64, NTESTS, "LANCZOS3", 6, 6, 1.0e-3); // 66 tests
 
-    check(32, 32, PS_TYPE_F32, NTESTS, PS_INTERPOLATE_LANCZOS4, 8, 8, 1.0e-3, rnd); // 66 tests
-    // check(32, 32, PS_TYPE_F64, 32, PS_INTERPOLATE_LANCZOS4, 8, 8, 1.0e-3); // 66 tests
+    check(32, 32, PS_TYPE_F32, NTESTS, "LANCZOS4", 8, 8, 1.0e-3, rnd); // 66 tests
+    // check(32, 32, PS_TYPE_F64, NTESTS, "LANCZOS4", 8, 8, 1.0e-3); // 66 tests
 
     psFree (rnd);
