From 42ff9cda13220d993c9b0472ef99694c91db93ef Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Mon, 15 Apr 2019 14:15:13 +0000 Subject: [PATCH] TEST: Fix tests in Indices module --- .../Radiometry/Indices/test/otbRadiometricIndicesTest.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/Radiometry/Indices/test/otbRadiometricIndicesTest.cxx b/Modules/Radiometry/Indices/test/otbRadiometricIndicesTest.cxx index 8465614c47..2b2a083f8e 100644 --- a/Modules/Radiometry/Indices/test/otbRadiometricIndicesTest.cxx +++ b/Modules/Radiometry/Indices/test/otbRadiometricIndicesTest.cxx @@ -132,9 +132,9 @@ int otbSoilIndicesTest(int, char**) // Syntax: CheckResult<Indice Class>("test_name",bandMap,{red_value,nir_value},expected_result) bool res = CheckResult< CI<int,double> >("ci_null ",bandMap,{0,0,0,0,0},0.); - res = res & CheckResult< CI<int,double> >("ci_pixel",bandMap,{1,2,3,4,5},-0.1111111111); - res = res & CheckResult< BI<int,double> >("bi_pixel",bandMap,{1,2,3,4,5},-0.3333333333); - res = res & CheckResult< BI2<int,double> >("bi2_pixel",bandMap,{1,2,3,4,5},-0.4285714286); + res = res & CheckResult< CI<int,double> >("ci_pixel",bandMap,{1,2,3,4,5},0.2); + res = res & CheckResult< BI<int,double> >("bi_pixel",bandMap,{1,2,3,4,5},2.549509757); + res = res & CheckResult< BI2<int,double> >("bi2_pixel",bandMap,{1,2,3,4,5},3.109126351); if(res) { -- GitLab