rendered paste bodyIndex: test/test.c
===================================================================
--- test/test.c (revision 1030)
+++ test/test.c (working copy)
@@ -1122,7 +1122,22 @@
case '8':
if( optarg != NULL )
{
- denoise_opt = strdup( optarg );
+ if (!( strcmp( optarg, "weak" ) ))
+ {
+ denoise_opt = "2:1:2:3";
+ }
+ else if (!( strcmp( optarg, "medium" ) ))
+ {
+ denoise_opt = "3:2:2:3";
+ }
+ else if (!( strcmp( optarg, "strong" ) ))
+ {
+ denoise_opt = "7:7:5:5";
+ }
+ else
+ {
+ denoise_opt = strdup( optarg );
+ }
}
denoise = 1;
break;